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.
This commit is contained in:
Sebastian Huber
2013-06-07 17:06:43 +02:00
parent 54e9216a0e
commit 2d2352bab9
114 changed files with 252 additions and 208 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ rtems_status_code rtems_extension_delete(
_User_extensions_Remove_set( &the_extension->Extension );
_Objects_Close( &_Extension_Information, &the_extension->Object );
_Extension_Free( the_extension );
_Thread_Enable_dispatch();
_Objects_Put( &the_extension->Object );
return RTEMS_SUCCESSFUL;
#if defined(RTEMS_MULTIPROCESSING)