src/kernel/object/object.c
/*!
 * @note: object information lock holding
 *        when invoke this function.
 */
@note: object information lock holding
when invoke this function.
@note : object information lock holding when invoke this function .
void object_remove(object_t * object){
    object_information_t * information = object_get_information(object->type);
    if (information == NULL){
        return;
    }
    link_remove_by_data(&information->link, object);
    object->flag = object->flag|OBJECT_FLAG_NOT_MANAGED;
}
void object_remove ( object_t * object ) { object_information_t * information = object_get_information ( object -> type ) ; if ( information == NULL ) { return ; } link_remove_by_data ( & information -> link , object ) ; object -> flag = object -> flag | OBJECT_FLAG_NOT_MANAGED ; }
@note: object information lock holding
        when invoke this function.
@note : object information lock holding when invoke this function .