HomeSort by relevance Sort by last modified time
    Searched full:sem_post (Results 1 - 25 of 840) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
assertions.xml 3 sem_post will unlock a locked semaphore, and will increment the value of
7 sem_post will return a value of 0 on successful calls when it unlock a
11 sem_post return EINVAL ERROR on invalid reference to a semaphore.
14 sem_post return zero on a successful call.
17 sem_post will continue after it is interrupted by a signal
20 sem_post cam be called from within a signal catching function
1-1.c 10 * sem_post shall unlock the locked semaphore and increment the semaphore
23 #define FUNCTION "sem_post"
41 if (sem_post(mysemp) == -1) {
42 perror(ERROR_PREFIX "sem_post");
1-2.c 10 * sem_post shall increment the value of the semaphore when its unlocked
23 #define FUNCTION "sem_post"
41 if (sem_post(mysemp) == -1) {
42 perror(ERROR_PREFIX "sem_post");
2-1.c 23 #define FUNCTION "sem_post"
41 perror(ERROR_PREFIX "sem_post");
45 if (sem_post(mysemp) == 0) {
51 puts("TEST FAILED: value of sem_post is not zero");
4-1.c 10 * This test case verifies the sem_post returns 0 on successful call.
22 #define FUNCTION "sem_post"
39 if (sem_post(mysemp) == 0) {
46 puts("TEST FAILED: value of sem_post is not returning zero");
5-1.c 10 * sem_post() can be entered into again if interrupted by a signal
31 #define FUNCTION "sem_post"
59 if (sem_post(gsemp) == -1) {
60 perror(ERROR_PREFIX "sem_post");
6-1.c 11 * sem_post() can be called from within a signal catching function
30 #define FUNCTION "sem_post"
39 if (sem_post(gsemp) == -1) {
40 perror(ERROR_PREFIX "sem_post");
  /external/ltp/testcases/open_posix_testsuite/functional/semaphores/
sem_sleepingbarber.c 39 sem_post(&print); \
65 if (-1 == sem_post(&lock)) {
66 perror("sem_post(&lock) didn't return success");
82 if (-1 == sem_post(&lock)) {
83 perror("sem_post(&lock) didn't return success");
86 if (-1 == sem_post(&barber)) {
87 perror("sem_post(&barber) didn't return success");
110 if (-1 == sem_post(&customer)) {
111 perror("sem_post(&customer) didn't return success");
117 if (-1 == sem_post(&lock))
    [all...]
sem_readerwriter.c 63 if (-1 == sem_post(&r_lock)) {
64 perror("sem_post didn't return success \n");
75 if (-1 == sem_post(&w_lock)) {
76 perror("sem_post didn't return success \n");
80 if (-1 == sem_post(&r_lock)) {
81 perror("sem_post didn't return success \n");
100 if (-1 == sem_post(&w_lock)) {
101 perror("sem_post didn't return success \n");
sem_philosopher.c 63 sem_post(&ph[ID]);
84 if (-1 == sem_post(&lock)) {
85 perror("sem_post didn't return success \n");
109 if (-1 == sem_post(&lock)) {
110 perror("sem_post didn't return success \n");
  /external/valgrind/drd/tests/
sem_open_traced.stderr.exp 4 [2] sem_post 0x........ value 0 -> 1
6 [1] sem_post 0x........ value 0 -> 1
annotate_sem.c 53 static void sem_post(sem_t *p) function
67 sem_post(&s_sem);
71 sem_post(&s_sem);
  /external/valgrind/helgrind/tests/
safe-semaphore.h 30 r = sem_post( sem );
41 #define sem_post safe_sem_post macro
filter_stderr 34 # sem_post.
37 -e "s/sem_post@\*/sem_post/" |
  /external/autotest/utils/named_semaphore/
namedsem.c 70 result = sem_post(sem);
95 {"sem_post", namedsem_sem_post, METH_VARARGS, "Execute sem_post()."},
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
3-1.c 10 * sem_post is executed and returns successfully.
46 if (sem_post(mysemp) == -1) {
47 perror(ERROR_PREFIX "sem_post");
  /bionic/benchmarks/
semaphore_benchmark.cpp 42 sem_post(&semaphore);
53 // We will run a background thread that catches the sem_post wakeup and
60 // SCHED_FIFO (highest priority policy) to time the act of running sem_post
68 // the timing of the sem_post.
111 sem_post(&semaphore);
147 sem_post(&semaphore);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/
2-1.c 9 /* sem_timedwait will return successfully when sem_post
60 if (sem_post(&mysemp) == -1) {
61 perror(ERROR_PREFIX "sem_post");
2-2.c 13 * by doing sem_post on the sempahore and check the current value of
49 if (sem_post(&mysemp) == -1) {
50 perror(ERROR_PREFIX "sem_post");
4-1.c 51 if (sem_post(&mysemp) == -1) {
52 perror(ERROR_PREFIX "sem_post");
  /external/compiler-rt/test/tsan/
signal_recursive.cc 43 if (sem_post(&g_thread_suspend_ack_sem) != 0)
44 fail("sem_post failed");
51 if (sem_post(&g_thread_suspend_ack_sem) != 0)
52 fail("sem_post failed");
vptr_harmful_race.cc 12 sem_post(&sem_);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
2-2.c 10 * unamed semaphore is used in subsequent of sem_post.
36 if (sem_post(&mysemp) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
1-4.c 11 try to un-lock it with sem_post. Making sure the semaphore is not locked.
41 if (sem_post(mysemp) == 0) {
  /bionic/tests/
semaphore_test.cpp 85 ASSERT_EQ(0, sem_post(&s));
86 ASSERT_EQ(0, sem_post(&s));
87 ASSERT_EQ(0, sem_post(&s));
150 ASSERT_EQ(0, sem_post(&s));
154 ASSERT_EQ(0, sem_post(&s));
202 ASSERT_EQ(0, sem_post(&s));
225 ASSERT_EQ(0, sem_post(&s));

Completed in 430 milliseconds

1 2 3 4 5 6 7 8 91011>>