32 the_partition = _Partition_Get(
id, &lock_context );
34 if ( the_partition == NULL ) {
37 #if defined(RTEMS_MULTIPROCESSING) 38 if ( _Partition_MP_Is_remote(
id ) ) {
46 _Partition_Acquire_critical( the_partition, &lock_context );
49 _Partition_Release( the_partition, &lock_context );
55 _Partition_Release( the_partition, &lock_context );
57 #if defined(RTEMS_MULTIPROCESSING) 58 if ( _Attributes_Is_global( the_partition->
attribute_set ) ) {
64 _Partition_MP_Send_process_packet(
65 PARTITION_MP_ANNOUNCE_DELETE,
73 _Partition_Destroy( the_partition );
static __inline__ void _Objects_Allocator_unlock(void)
Unlocks the object allocator mutex.
Objects_Information _Partition_Information
The Classic Partition objects information.
This status code indicates that the object still had resources in use.
rtems_status_code rtems_partition_delete(rtems_id id)
Deletes the specified partition.
static __inline__ void _Objects_Allocator_lock(void)
Locks the object allocator mutex.
This status code indicates successful completion.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
uintptr_t number_of_used_blocks
rtems_attribute attribute_set
This status code indicates that an object identifier was invalid.
Classic Attributes Implementation.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
Classic Partition Manager Implementation.
This status code indicates that the operation was illegal on a remote object.
Local ISR lock context for acquire and release pairs.
static __inline__ void _Partition_Free(Partition_Control *the_partition)
Frees a partition control block to the inactive chain of free partition control blocks.
void _Objects_Close(const Objects_Information *information, Objects_Control *the_object)
Closes object.