class EventFdSem

Defined at line 476 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h

A semaphore implemented with EventFd. Works across Threads and Forks.

Public Methods

void EventFdSem (int initial_value)

Defined at line 478 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h

void ~EventFdSem ()

Defined at line 482 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h

void EventFdSem (EventFdSem && other)

Defined at line 483 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h

EventFdSem & operator= (EventFdSem && other)

Defined at line 484 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h

void EventFdSem (const EventFdSem & )

Defined at line 486 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h

EventFdSem & operator= (const EventFdSem & )

Defined at line 487 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h

int Wait ()

Defined at line 489 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h

int Notify (int value)

Defined at line 494 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h