user/lib/libc/src/file/fd/map.c
/**
 * Compares two threads by their handles.
 */
Compares two threads by their handles.
Compares two threads by their handles .
static int _HashmapSlotCompare(const void *a, const void *b, void *udata) {
    const fd_map_entry_t *ta = (const fd_map_entry_t *) a;
    const fd_map_entry_t *tb = (const fd_map_entry_t *) b;
    return ta->key < tb->key;
}
static int _HashmapSlotCompare ( const void * a , const void * b , void * udata ) { const fd_map_entry_t * ta = ( const fd_map_entry_t * ) a ; const fd_map_entry_t * tb = ( const fd_map_entry_t * ) b ; return ta -> key < tb -> key ; }
Compares two threads by their handles.
Compares two threads by their handles .