Changeset 2d2352b in rtems for cpukit/sapi


Ignore:
Timestamp:
Jun 5, 2013, 9:48:57 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
7cf2ec6f
Parents:
54e9216
git-author:
Sebastian Huber <sebastian.huber@…> (06/05/13 09:48:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/07/13 15:06:43)
Message:

score: Add and use _Objects_Put()

Add and use _Objects_Put_without_thread_dispatch(). These two functions
pair with the _Objects_Get() function. This helps to introduce object
specific SMP locks to avoid lock contention.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/extensiondelete.c

    r54e9216 r2d2352b  
    3838      _Objects_Close( &_Extension_Information, &the_extension->Object );
    3939      _Extension_Free( the_extension );
    40       _Thread_Enable_dispatch();
     40      _Objects_Put( &the_extension->Object );
    4141      return RTEMS_SUCCESSFUL;
    4242
Note: See TracChangeset for help on using the changeset viewer.