Ignore:
Timestamp:
Jul 17, 2005, 2:25:44 PM (20 years ago)
Author:
bird
Message:

o LIBC_ASSERT*() are for internal libc errors, LIBCLOG_ERROR*() are

for user related error. Big code adjustements.

o Fixed a few smaller issues.
o Started fixing exec() backend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/thread.h

    • Property cvs2svn:cvs-rev changed from 1.13 to 1.14
    r2253 r2254  
    502502 * @returns 0 on success.
    503503 * @returns -1 on failure. errno set.
    504  * @param   iTLSIndex   Value returned by __libc_TLSAlloc().
     504 * @param   iIndex      Value returned by __libc_TLSAlloc().
    505505 */
    506506int     __libc_TLSFree(int iIndex);
     
    511511 * @returns value in given TLS entry.
    512512 * @returns NULL on failure with errno set.
    513  * @param   iTLSIndex   Value returned by __libc_TLSAlloc().
     513 * @param   iIndex      Value returned by __libc_TLSAlloc().
    514514 */
    515515void *  __libc_TLSGet(int iIndex);
     
    520520 * @returns 0 on success.
    521521 * @returns -1 on failure. errno set.
    522  * @param   iTLSIndex   Value returned by __libc_TLSAlloc().
     522 * @param   iIndex      Value returned by __libc_TLSAlloc().
    523523 * @param   pvValue     Value to store.
    524524 */
     
    529529 *
    530530 * The destructor function will be called when a thread terminates
    531  * in a normal fashion and the TLS entry iTLSIndex of that thread is
     531 * in a normal fashion and the TLS entry iIndex of that thread is
    532532 * not NULL.
    533533 *
     
    536536 * @returns 0 on succces.
    537537 * @returns -1 on failure. errno set.
    538  * @param   iTLSIndex       Value returned by __libc_TLSAlloc().
     538 * @param   iIndex          Value returned by __libc_TLSAlloc().
    539539 * @param   pfnDestructor   Callback function. Use NULL to unregister a previously
    540540 *                          registered destructor.
     
    552552 *          this function. The result from doing that is undefined.
    553553 */
    554 int     __libc_TLSDestructor(int iIndex, void (*pfnDestructor)(void *pvValue, int iTLSIndex, unsigned fFlags), unsigned fFlags);
     554int     __libc_TLSDestructor(int iIndex, void (*pfnDestructor)(void *pvValue, int iIndex, unsigned fFlags), unsigned fFlags);
    555555
    556556
     
    562562 * @returns Pointer to destructor if registered.
    563563 *
    564  * @param   iTLSIndex       Value returned by __libc_TLSAlloc().
     564 * @param   iIndex          Value returned by __libc_TLSAlloc().
    565565 * @param   pfFlags         Where to store the flags supplied to __libc_TLSDestructor().
    566566 *                          NULL is ok.
    567567 */
    568 void (*__libc_TLSGetDestructor(int iTLSIndex, unsigned *pfFlags))(void *, int, unsigned);
     568void (*__libc_TLSGetDestructor(int iIndex, unsigned *pfFlags))(void *, int, unsigned);
    569569
    570570/* fix later */
Note: See TracChangeset for help on using the changeset viewer.