mirror of
https://github.com/reactos/reactos.git
synced 2024-09-18 16:52:54 +00:00
16 lines
269 B
C
16 lines
269 B
C
|
/* Simple test of EngAcquireSemaphore only check if we got a lock or not */
|
||
|
INT
|
||
|
Test_EngCreateSemaphore(PTESTINFO pti)
|
||
|
{
|
||
|
|
||
|
HSEMAPHORE hsem;
|
||
|
hsem = EngCreateSemaphore();
|
||
|
|
||
|
RTEST ( hsem != NULL );
|
||
|
|
||
|
EngDeleteSemaphore(hsem);
|
||
|
|
||
|
return APISTATUS_NORMAL;
|
||
|
}
|
||
|
|