Home | History | Annotate | Download | only in pthread_mutexattr_getprotocol

Lines Matching refs:protocol

10  * Gets the protocol attribute of a mutexattr object (which was prev. created
24 int protocol, protcls[3], i;
37 /* Set the protocol to one of the 3 valid protocols. */
39 printf("Error setting protocol to %d\n", protcls[i]);
43 /* Get the protocol mutex attr. */
44 if (pthread_mutexattr_getprotocol(&mta, &protocol) != 0) {
46 "Error obtaining the protocol attribute.\n");
50 /* Make sure that the protocol set is the protocl we get when calling
52 if (protocol != protcls[i]) {
54 ("Test FAILED: Set protocol %d, but instead got protocol %d.\n",
55 protcls[i], protocol);