HomeSort by relevance Sort by last modified time
    Searched refs:prioceiling (Results 1 - 10 of 10) sorted by null

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/
3-2.c 12 * [EINVAL] - 'attr' or 'prioceiling' is invalid.
17 * 2. Call pthread_mutexattr_setprioceiling() with an invalid prioceiling value.
30 /* Make sure there is prioceiling capability. */
32 fprintf(stderr,"prioceiling attribute is not available for testing\n");
37 int prioceiling, ret; local
39 /* Set 'prioceiling' out of SCHED_FIFO boundry. */
40 prioceiling = sched_get_priority_max(SCHED_FIFO);
41 prioceiling++;
43 /* Set the prioceiling to an invalid prioceiling. *
    [all...]
3-1.c 12 * [EINVAL] - 'attr' or 'prioceiling' is invalid.
17 * 2. Call pthread_mutexattr_setprioceiling() to set the prioceiling.
30 /* Make sure there is prioceiling capability. */
32 fprintf(stderr,"prioceiling attribute is not available for testing\n");
37 int prioceiling, ret; local
39 prioceiling = sched_get_priority_min(SCHED_FIFO);
41 /* Set the prioceiling of an unintialized mutex attr. */
42 if ((ret = pthread_mutexattr_setprioceiling(&mta, prioceiling)) == 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprioceiling/
1-1.c 15 * 2. Call pthread_mutexattr_getprioceiling() to obtain the prioceiling.
33 /* Make sure there is prioceiling capability. */
35 fprintf(stderr,"prioceiling attribute is not available for testing\n");
40 int prioceiling, max_prio, min_prio, ret; local
55 /* Get the prioceiling mutex attr. */
56 ret = pthread_mutexattr_getprioceiling(&ma, &prioceiling);
66 /* Ensure that prioceiling is within legal limits. */
67 if ((prioceiling < min_prio) || (prioceiling > max_prio)) {
69 ("Test FAILED: Default prioceiling %d is not compliant with SCHED_FIFO boundary.\n"
    [all...]
3-1.c 12 * [EINVAL] - 'attr' or 'prioceiling' is invalid.
18 * 1. Call pthread_mutexattr_getprioceiling() to obtain the prioceiling for an
32 int prioceiling, ret; local
35 /* Get the prioceiling of an unintialized mutex attr. */
36 if ((ret = pthread_mutexattr_getprioceiling(&mta, &prioceiling)) == 0) {
1-2.c 15 * 2. Get the min and max boundries for SCHED_FIFO of what prioceiling can be.
16 * 3. In a for loop, go through each valid SCHED_FIFO value, set the prioceiling, then
29 /* Make sure there is prioceiling capability. */
31 fprintf(stderr,"prioceiling attribute is not available for testing\n");
36 int prioceiling, max_prio, min_prio, i; local
49 /* Set the prioceiling to a priority number in the boundries
52 printf("Error setting prioceiling to %d\n", i);
56 /* Get the prioceiling mutex attr. */
57 if (pthread_mutexattr_getprioceiling(&mta, &prioceiling) != 0) {
63 /* Make sure that prioceiling is withing the legal SCHED_FIFO boundries. *
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_getprioceiling/
1-1.c 4 * Test that pthread_mutex_getprioceiling() returns the current prioceiling of
10 * 3. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
33 int error, prioceiling; local
60 /* Get the prioceiling of the mutex. */
61 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
71 printf("Prioceiling returned: %d\n", prioceiling);
3-1.c 15 * 3. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
37 int error, prioceiling; local
51 /* Get the prioceiling of the mutex. */
52 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
3-2.c 14 * 3. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
37 int error, prioceiling; local
63 /* Get the prioceiling of the mutex. */
64 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
3-3.c 14 * 3. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
38 int error, prioceiling; local
65 /* Get the prioceiling of the mutex. */
66 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_setprioceiling/
1-1.c 6 * returns the current prioceiling of the mutex.
10 * 2. Call pthread_mutex_getprioceiling() to obtain the prioceiling.
33 int error, prioceiling; local
60 /* Get the prioceiling of the mutex. */
61 error = pthread_mutex_getprioceiling(&mutex, &prioceiling);
71 printf("Prioceiling returned: %d\n", prioceiling);

Completed in 91 milliseconds