Changeset af04a791 in rtems


Ignore:
Timestamp:
08/12/96 17:40:56 (27 years ago)
Author:
Mark Johannes <Mark.Johannes@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b1af454
Parents:
cdcea6ce
Message:

_POSIX_Condition_variables_Wait_support: added _POSIX_Mutex_From_core_mutex_status for the two calls to the mutex manager

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/cond.c

    rcdcea6ce raf04a791  
    1212#include <rtems/posix/cond.h>
    1313#include <rtems/posix/time.h>
     14#include <rtems/posix/mutex.h>
    1415
    1516/*
     
    379380 
    380381      status = pthread_mutex_unlock( mutex );
    381       if ( !status )
    382         return status;
     382      if ( status )
     383        return _POSIX_Mutex_From_core_mutex_status( status );
    383384 
    384385      the_cond->Mutex = *mutex;
     
    391392
    392393      status = pthread_mutex_lock( mutex );
    393       if ( !status )
    394         return status;
     394      if ( status )
     395        return _POSIX_Mutex_From_core_mutex_status( status );
    395396   
    396397      return _Thread_Executing->Wait.return_code;
  • cpukit/posix/src/cond.c

    rcdcea6ce raf04a791  
    1212#include <rtems/posix/cond.h>
    1313#include <rtems/posix/time.h>
     14#include <rtems/posix/mutex.h>
    1415
    1516/*
     
    379380 
    380381      status = pthread_mutex_unlock( mutex );
    381       if ( !status )
    382         return status;
     382      if ( status )
     383        return _POSIX_Mutex_From_core_mutex_status( status );
    383384 
    384385      the_cond->Mutex = *mutex;
     
    391392
    392393      status = pthread_mutex_lock( mutex );
    393       if ( !status )
    394         return status;
     394      if ( status )
     395        return _POSIX_Mutex_From_core_mutex_status( status );
    395396   
    396397      return _Thread_Executing->Wait.return_code;
Note: See TracChangeset for help on using the changeset viewer.