Changeset 65911c32 in rtems


Ignore:
Timestamp:
Jun 4, 1996, 7:50:15 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2c207d1f
Parents:
56bd4a36
Message:

made sure _Thread_Enable_dispatch is not invoked in cases
where _Objects_Get failed

Files:
2 edited

Legend:

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

    r56bd4a36 r65911c32  
    394394    case OBJECTS_ERROR:
    395395    case OBJECTS_REMOTE:
    396       _Thread_Enable_dispatch();
    397396      return ESRCH;
    398397    case OBJECTS_LOCAL:
     
    435434    case OBJECTS_ERROR:
    436435    case OBJECTS_REMOTE:
    437       _Thread_Enable_dispatch();
    438436      return ESRCH;
    439437    case OBJECTS_LOCAL:
     
    858856    case OBJECTS_ERROR:
    859857    case OBJECTS_REMOTE:
    860       _Thread_Enable_dispatch();
    861858      return ESRCH;
    862859    case OBJECTS_LOCAL:
     
    969966  _Thread_Enable_dispatch();
    970967  return status;
    971 
    972968}
    973969
     
    10041000 
    10051001  _Thread_Enable_dispatch();
    1006 
    10071002  return 0;
    10081003}
  • cpukit/posix/src/pthread.c

    r56bd4a36 r65911c32  
    394394    case OBJECTS_ERROR:
    395395    case OBJECTS_REMOTE:
    396       _Thread_Enable_dispatch();
    397396      return ESRCH;
    398397    case OBJECTS_LOCAL:
     
    435434    case OBJECTS_ERROR:
    436435    case OBJECTS_REMOTE:
    437       _Thread_Enable_dispatch();
    438436      return ESRCH;
    439437    case OBJECTS_LOCAL:
     
    858856    case OBJECTS_ERROR:
    859857    case OBJECTS_REMOTE:
    860       _Thread_Enable_dispatch();
    861858      return ESRCH;
    862859    case OBJECTS_LOCAL:
     
    969966  _Thread_Enable_dispatch();
    970967  return status;
    971 
    972968}
    973969
     
    10041000 
    10051001  _Thread_Enable_dispatch();
    1006 
    10071002  return 0;
    10081003}
Note: See TracChangeset for help on using the changeset viewer.