Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_endthread() end a thread (os/2)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _endthread()            End a Thread (OS/2)

 #include   <process.h>

 void _endthread(void);

    The _endthread() function terminates a thread created by
    _beginthread(). _endthread() takes no arguments. Note that
    you have to link to the multithread libraries, LLIBCMT.LIB,
    LLIBBCDLL.LIB, or CDLLOBJS.LIB, when using _endthread().

    Notes:      The OS/2 function DosExit should not be used to
                terminate threads; use _endthread() instead. The thread
                can also terminate naturally.

 Portability:   Not supported by the ANSI standard, and only functions
                under OS/2.


See Also: _beginthread()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson