[ Previous ] [ Contents ] [ Index ] [ Next ]



Enter a critical section


    int Ns_EnterCriticalSection(
    Ns_CriticalSection * section


Enter the specified critical section. If the critical section is use by another thread, the current will block until it is no longer so. Note that critical sections are recursive and must be exited the same number of times as they were entered.

Ns_CsEnter is the preferred function for entering a critical section.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.