MCPcopy Create free account
hub / github.com/boostorg/build / try_wait_impl

Function try_wait_impl

src/engine/execnt.cpp:851–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849}
850
851static int32_t try_wait_impl( DWORD timeout )
852{
853 int32_t job_index;
854 int32_t res = WaitForSingleObject( process_queue.read_okay, timeout );
855 if ( res != WAIT_OBJECT_0 )
856 return -1;
857 job_index = process_queue.job_index;
858 SetEvent( process_queue.write_okay );
859 return job_index;
860}
861
862static void register_wait( int32_t job_id )
863{

Callers 1

try_waitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected