Searched refs:mp (Results 1 - 10 of 10) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/nothreads/include/isc/
H A Dmutex.h27 #define isc_mutex_init(mp) \
28 (*(mp) = 0, ISC_R_SUCCESS)
29 #define isc_mutex_lock(mp) \
30 ((*(mp))++ == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
31 #define isc_mutex_unlock(mp) \
32 (--(*(mp)) == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
33 #define isc_mutex_trylock(mp) \
34 (*(mp) == 0 ? ((*(mp))++, ISC_R_SUCCESS) : ISC_R_LOCKBUSY)
35 #define isc_mutex_destroy(mp) \
[all...]
H A Dcondition.h38 isc_result_t isc__nothread_wait_hack(isc_condition_t *cp, isc_mutex_t *mp);
44 #define isc_condition_wait(cp, mp) \
45 isc__nothread_wait_hack(cp, mp)
47 #define isc_condition_waituntil(cp, mp, tp) \
48 ((void)(cp), (void)(mp), (void)(tp), ISC_R_NOTIMPLEMENTED)
/bind-9.6-ESV-R11/lib/isc/win32/include/isc/
H A Dmutex.h39 #define isc_mutex_init(mp) \
40 (InitializeCriticalSection((mp)), ISC_R_SUCCESS)
41 #define isc_mutex_lock(mp) \
42 (EnterCriticalSection((mp)), ISC_R_SUCCESS)
43 #define isc_mutex_unlock(mp) \
44 (LeaveCriticalSection((mp)), ISC_R_SUCCESS)
45 #define isc_mutex_trylock(mp) \
46 (TryEnterCriticalSection((mp)) ? ISC_R_SUCCESS : ISC_R_LOCKBUSY)
47 #define isc_mutex_destroy(mp) \
48 (DeleteCriticalSection((mp)), ISC_R_SUCCES
[all...]
/bind-9.6-ESV-R11/lib/isc/pthreads/include/isc/
H A Dmutex.h70 #define isc_mutex_init(mp) \
71 isc_mutex_init_profile((mp), __FILE__, __LINE__)
74 #define isc_mutex_init(mp) \
75 isc_mutex_init_errcheck((mp))
77 #define isc_mutex_init(mp) \
78 isc__mutex_init((mp), __FILE__, __LINE__)
79 isc_result_t isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line);
84 #define isc_mutex_lock(mp) \
85 isc_mutex_lock_profile((mp), __FILE__, __LINE__)
87 #define isc_mutex_lock(mp) \
[all...]
H A Dcondition.h37 #define isc_condition_wait(cp, mp) \
38 ((pthread_cond_wait((cp), &((mp)->mutex)) == 0) ? \
41 #define isc_condition_wait(cp, mp) \
42 ((pthread_cond_wait((cp), (mp)) == 0) ? \
/bind-9.6-ESV-R11/lib/isc/pthreads/
H A Dmutex.c90 isc_mutex_init_profile(isc_mutex_t *mp, const char *file, int line) { argument
93 err = pthread_mutex_init(&mp->mutex, NULL);
113 mp->stats = &stats[stats_next++];
117 mp->stats->file = file;
118 mp->stats->line = line;
119 mp->stats->count = 0;
120 timevalclear(&mp->stats->locked_total);
121 timevalclear(&mp->stats->wait_total);
123 mp->stats->lockers[i].file = NULL;
124 mp
134 isc_mutex_lock_profile(isc_mutex_t *mp, const char *file, int line) argument
177 isc_mutex_unlock_profile(isc_mutex_t *mp, const char *file, int line) argument
229 isc_mutex_init_errcheck(isc_mutex_t *mp) argument
259 isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dapp.c391 isc__nothread_wait_hack(isc_condition_t *cp, isc_mutex_t *mp) { argument
395 UNUSED(mp);
400 INSIST(*mp == 1); /* Mutex must be locked on entry. */
401 --*mp;
411 ++*mp;
/bind-9.6-ESV-R11/
H A Dconfig.guess788 *:UNICOS/mp:*:*)
H A Dltmain.sh5693 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
6198 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
/bind-9.6-ESV-R11/unit/atf-src/admin/
H A Dconfig.guess768 *:UNICOS/mp:*:*)

Completed in 2152 milliseconds