33 integer,
intent(out) :: thread_id
34 integer,
intent(in) :: attr_id
35 procedure(
i_run) :: run
36 integer,
target :: arg
40 type(
ptr_t_run),
dimension(:),
pointer :: tmp
41 type(
t_run),
pointer :: runp
60 call thread_create(thread_id,attr_id,c_funloc(start_routinep),&
68 integer,
intent(in) :: thread_id
77 integer,
intent(in) :: t1, t2
87 integer,
pointer :: val
93 integer,
intent(in) :: thread_id
94 integer,
pointer:: val
98 type(c_ptr) :: value_ptr
100 call c_f_pointer(value_ptr,val)
105 integer,
intent(in) :: thread_id
114 integer,
intent(in) :: thread_id, sig
123 integer,
intent(out) :: once_ctrl_id
132 integer,
intent(in) :: once_ctrl_id
133 procedure(
i_once) :: init_routine
139 call thread_once(once_ctrl_id,c_funloc(init_routine),info)
146 integer,
intent(out) :: currlevel
155 integer,
intent(in) :: newlevel
165 integer,
intent(in) :: thread
166 integer,
intent(out) :: clock_id
176 integer,
intent(in) :: thread
177 integer,
intent(out) :: policy
187 integer,
intent(in) :: thread, policy
198 integer,
intent(in) :: thread, prio
208 integer,
intent(in) :: state
209 integer,
intent(out) :: oldstate
218 integer,
intent(in) :: ctype
219 integer,
intent(out) :: oldctype
232 integer,
intent(in) :: key_id
241 integer,
intent(out) :: key_id
265 integer,
intent(in) :: mutex_id
274 integer,
intent(out) :: mutex_id
275 integer,
intent(in) :: attr_id
284 integer,
intent(in) :: mutex_id
293 integer,
intent(in) :: mutex_id
302 integer,
intent(in) :: mutex_id
311 integer,
intent(in) :: mutex
312 integer,
intent(out) :: prioceiling
321 integer,
intent(in) :: mutex, prioceiling
322 integer,
intent(out) :: old_ceiling
332 integer,
intent(in) :: mutex
333 type(
timespec),
intent(in) :: abs_timeout
347 integer,
intent(in) :: cond_id
356 integer,
intent(out) :: cond_id
357 integer,
intent(in) :: attr_id
366 integer,
intent(in) :: mutex
367 type(
timespec),
intent(in) :: abstime
376 integer,
intent(in) :: cond_id, mutex_id
385 integer,
intent(in) :: cond_id
394 integer,
intent(in) :: cond_id
408 integer,
intent(in) :: barrier_id
417 integer,
intent(out) :: barrier_id
418 integer,
intent(in) :: attr_id, tcount
427 integer,
intent(in) :: barrier_id
442 integer,
intent(in) :: spinlock_id
451 integer,
intent(out) :: spinlock_id
452 integer,
intent(in) :: pshared
461 integer,
intent(in) :: lock_id
470 integer,
intent(in) :: lock_id
479 integer,
intent(in) :: lock_id
495 integer,
intent(in) :: rwlock_id
504 integer,
intent(out) :: rwlock_id
505 integer,
intent(in) :: attr_id
514 integer,
intent(in) :: lock_id
523 integer,
intent(in) :: lock_id
532 integer,
intent(in) :: lock_id
541 integer,
intent(in) :: lock_id
550 integer,
intent(in) :: lock_id
560 integer,
intent(in) :: lock_id
561 type(
timespec),
intent(in) :: abs_timeout
570 integer,
intent(in) :: lock_id
571 type(
timespec),
intent(in) :: abs_timeout
585 integer,
intent(in) :: attr
594 integer,
intent(in) :: attr
603 integer,
intent(in) :: attr
604 integer,
intent(out) :: detachstate
613 integer,
intent(in) :: attr, detachstate
621 integer,
intent(in) :: attr
622 integer(size_t),
intent(out) :: guardsize
631 integer,
intent(in) :: attr
632 integer(size_t),
intent(in) :: guardsize
641 integer,
intent(in) :: attr
642 integer,
intent(out) :: inheritsched
651 integer,
intent(in) :: attr
652 integer,
intent(in) :: inheritsched
661 integer,
intent(in) :: attr
671 integer,
intent(in) :: attr
681 integer,
intent(in) :: attr
682 integer,
intent(out) :: policy
691 integer,
intent(in) :: attr, policy
700 integer,
intent(in) :: attr
701 integer,
intent(out) :: scope
710 integer,
intent(in) :: attr, scope
719 integer,
intent(in) :: attr
720 integer(size_t),
intent(out) :: stacksize
729 integer,
intent(in) :: attr
730 integer(size_t),
intent(in) :: stacksize
743 integer,
intent(in) :: attr
752 integer,
intent(in) :: attr
761 integer,
intent(in) :: attr
762 integer,
intent(out) :: pshared
771 integer ,
intent(in) :: attr
772 integer ,
intent(in) :: pshared
780 integer,
intent(in) :: attr
781 integer,
intent(out) :: prioceiling
790 integer,
intent(in) :: attr, prioceiling
799 integer,
intent(in) :: attr
800 integer,
intent(out) :: protocol
809 integer,
intent(in) :: attr, protocol
818 integer,
intent(in) :: attr
819 integer,
intent(out) :: mtype
828 integer,
intent(in) :: attr, mtype
841 integer,
intent(in) :: attr
850 integer,
intent(in) :: attr
859 integer,
intent(in) :: attr
860 integer,
intent(out) :: pshared
869 integer,
intent(in) :: attr, pshared
879 integer,
intent(in) :: attr
880 integer,
intent(out) :: clock_id
889 integer,
intent(in) :: attr
890 integer,
intent(in) :: clock_id
903 integer,
intent(in) :: attr
912 integer,
intent(in) :: attr
921 integer,
intent(in) :: attr
922 integer,
intent(out) :: pshared
931 integer,
intent(in) :: attr, pshared
944 integer,
intent(in) :: attr
952 integer,
intent(in) :: attr
960 integer,
intent(in) :: attr
961 integer,
intent(out) :: pshared
969 integer,
intent(in) :: attr, pshared
integer function forthread_attr_getdetachstate(attr, detachstate)
integer function forthread_attr_getinheritsched(attr, inheritsched)
integer function forthread_mutexattr_setprotocol(attr, protocol)
integer function forthread_condattr_destroy(attr)
integer function forthread_attr_init(attr)
integer function forthread_condattr_getpshared(attr, pshared)
integer function forthread_getcpuclockid(thread, clock_id)
integer function forthread_mutex_setprioceiling(mutex, prioceiling, old_ceiling)
type(c_ptr) function start_routine(arg)
integer function forthread_rwlockattr_getpshared(attr, pshared)
integer function forthread_rwlock_init(rwlock_id, attr_id)
integer function forthread_setschedprio(thread, prio)
integer function forthread_mutexattr_settype(attr, mtype)
integer function forthread_mutexattr_setprioceiling(attr, prioceiling)
integer function forthread_setconcurrency(newlevel)
integer function forthread_mutex_unlock(mutex_id)
integer function forthread_cond_signal(cond_id)
integer function forthread_attr_getstacksize(attr, stacksize)
integer function forthread_barrierattr_destroy(attr)
integer function forthread_spin_trylock(lock_id)
integer function forthread_condattr_setclock(attr, clock_id)
integer function forthread_spin_unlock(lock_id)
type(ptr_t_run), dimension(:), pointer routine_table
integer function forthread_spin_init(spinlock_id, pshared)
integer function forthread_mutex_destroy(mutex_id)
integer function forthread_rwlock_timedwrlock(lock_id, abs_timeout)
integer function forthread_mutexattr_destroy(attr)
integer function forthread_kill(thread_id, sig)
integer function forthread_spin_lock(lock_id)
integer function forthread_rwlock_trywrlock(lock_id)
integer function forthread_barrier_wait(barrier_id)
integer function forthread_join(thread_id, val)
integer function forthread_attr_getschedpolicy(attr, policy)
integer function forthread_rwlockattr_destroy(attr)
integer function forthread_barrierattr_getpshared(attr, pshared)
integer function forthread_attr_getscope(attr, scope)
integer function forthread_attr_getschedparam(attr, param)
integer function forthread_rwlock_rdlock(lock_id)
integer function forthread_spin_destroy(spinlock_id)
integer function forthread_attr_getguardsize(attr, guardsize)
integer function forthread_init()
integer function forthread_mutex_init(mutex_id, attr_id)
integer function forthread_attr_setstacksize(attr, stacksize)
integer function forthread_cond_init(cond_id, attr_id)
integer function forthread_rwlock_wrlock(lock_id)
integer function forthread_rwlock_timedrdlock(lock_id, abs_timeout)
integer function forthread_attr_setschedpolicy(attr, policy)
integer function forthread_create(thread_id, attr_id, run, arg)
integer function forthread_cancel(thread_id)
integer function forthread_mutexattr_getprotocol(attr, protocol)
integer function forthread_barrierattr_setpshared(attr, pshared)
integer function forthread_mutex_trylock(mutex_id)
integer function forthread_mutexattr_getpshared(attr, pshared)
integer routine_table_size
integer function forthread_condattr_init(attr)
integer function forthread_rwlockattr_setpshared(attr, pshared)
integer function forthread_mutex_getprioceiling(mutex, prioceiling)
integer function forthread_getschedparam(thread, policy, param)
integer function forthread_mutexattr_setpshared(attr, pshared)
integer function forthread_equal(t1, t2)
integer function forthread_attr_setscope(attr, scope)
integer function forthread_barrier_destroy(barrier_id)
integer function forthread_attr_setdetachstate(attr, detachstate)
integer function forthread_mutexattr_gettype(attr, mtype)
integer function forthread_mutex_lock(mutex_id)
integer function forthread_barrierattr_init(attr)
integer function forthread_rwlock_tryrdlock(lock_id)
integer function forthread_setcancelstate(state, oldstate)
integer function forthread_condattr_getclock(attr, clock_id)
integer function forthread_key_delete(key_id)
integer function forthread_once(once_ctrl_id, init_routine)
integer function forthread_mutexattr_init(attr)
integer function forthread_setcanceltype(ctype, oldctype)
integer function forthread_attr_destroy(attr)
integer function forthread_destroy()
integer function forthread_detach(thread_id)
subroutine forthread_exit(val)
integer function forthread_attr_setschedparam(attr, param)
integer function forthread_setschedparam(thread, policy, param)
integer function forthread_barrier_init(barrier_id, attr_id, tcount)
integer function forthread_rwlock_destroy(rwlock_id)
integer function forthread_cond_broadcast(cond_id)
integer function forthread_cond_destroy(cond_id)
integer function forthread_cond_wait(cond_id, mutex_id)
integer function forthread_rwlockattr_init(attr)
integer function forthread_getconcurrency(currlevel)
integer function forthread_key_create(key_id, destructor)
integer function forthread_attr_setinheritsched(attr, inheritsched)
integer function forthread_rwlock_unlock(lock_id)
integer routine_table_mutex
integer function forthread_mutex_timedlock(mutex, abs_timeout)
integer function forthread_cond_timedwait(mutex, abstime)
integer function forthread_mutexattr_getprioceiling(attr, prioceiling)
integer function forthread_attr_setguardsize(attr, guardsize)
integer function forthread_condattr_setpshared(attr, pshared)
integer function forthread_once_init(once_ctrl_id)
integer, parameter init_size