27 |
#include <pthread.h> |
#include <pthread.h> |
28 |
#include <stdlib.h> |
#include <stdlib.h> |
29 |
|
|
30 |
|
#include <compiler.h> |
31 |
|
|
32 |
#include "cap-server-intern.h" |
#include "cap-server-intern.h" |
33 |
|
|
34 |
|
|
177 |
entry = (_hurd_cap_client_entry_t) HURD_TABLE_LOOKUP (&bucket->clients, |
entry = (_hurd_cap_client_entry_t) HURD_TABLE_LOOKUP (&bucket->clients, |
178 |
idx); |
idx); |
179 |
|
|
180 |
if (__builtin_expect (entry->refs > 1, 1)) |
if (EXPECT_TRUE (entry->refs > 1)) |
181 |
{ |
{ |
182 |
entry->refs--; |
entry->refs--; |
183 |
pthread_mutex_unlock (&bucket->lock); |
pthread_mutex_unlock (&bucket->lock); |