Changeset b9444fb9 in rtems
- Timestamp:
- 08/09/96 19:58:58 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- da2e539
- Parents:
- 13adea0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/posix/src/mutex.c
r13adea0 rb9444fb9 147 147 ) 148 148 { 149 if ( !attr || attr->is_initialized == FALSE)149 if ( !attr || !attr->is_initialized ) 150 150 return EINVAL; 151 151 … … 164 164 ) 165 165 { 166 if ( !attr || attr->is_initialized == FALSE)166 if ( !attr || !attr->is_initialized || !pshared ) 167 167 return EINVAL; 168 168 … … 181 181 ) 182 182 { 183 if ( !attr || attr->is_initialized == FALSE)183 if ( !attr || !attr->is_initialized ) 184 184 return EINVAL; 185 185 … … 532 532 ) 533 533 { 534 if ( !attr || attr->is_initialized == FALSE)534 if ( !attr || !attr->is_initialized || !protocol ) 535 535 return EINVAL; 536 536 … … 549 549 ) 550 550 { 551 if ( !attr || attr->is_initialized == FALSE)551 if ( !attr || !attr->is_initialized ) 552 552 return EINVAL; 553 553 … … 569 569 ) 570 570 { 571 if ( !attr || attr->is_initialized == FALSE)571 if ( !attr || !attr->is_initialized || !prioceiling ) 572 572 return EINVAL; 573 573 … … 640 640 Objects_Locations location; 641 641 642 if ( !prioceiling ) 643 return EINVAL; 644 642 645 the_mutex = _POSIX_Mutex_Get( mutex, &location ); 643 646 switch ( location ) { -
cpukit/posix/src/mutex.c
r13adea0 rb9444fb9 147 147 ) 148 148 { 149 if ( !attr || attr->is_initialized == FALSE)149 if ( !attr || !attr->is_initialized ) 150 150 return EINVAL; 151 151 … … 164 164 ) 165 165 { 166 if ( !attr || attr->is_initialized == FALSE)166 if ( !attr || !attr->is_initialized || !pshared ) 167 167 return EINVAL; 168 168 … … 181 181 ) 182 182 { 183 if ( !attr || attr->is_initialized == FALSE)183 if ( !attr || !attr->is_initialized ) 184 184 return EINVAL; 185 185 … … 532 532 ) 533 533 { 534 if ( !attr || attr->is_initialized == FALSE)534 if ( !attr || !attr->is_initialized || !protocol ) 535 535 return EINVAL; 536 536 … … 549 549 ) 550 550 { 551 if ( !attr || attr->is_initialized == FALSE)551 if ( !attr || !attr->is_initialized ) 552 552 return EINVAL; 553 553 … … 569 569 ) 570 570 { 571 if ( !attr || attr->is_initialized == FALSE)571 if ( !attr || !attr->is_initialized || !prioceiling ) 572 572 return EINVAL; 573 573 … … 640 640 Objects_Locations location; 641 641 642 if ( !prioceiling ) 643 return EINVAL; 644 642 645 the_mutex = _POSIX_Mutex_Get( mutex, &location ); 643 646 switch ( location ) {
Note: See TracChangeset
for help on using the changeset viewer.