mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 11:15:40 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user