This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
2009-03-24 13:27:36 +00:00
|
|
|
|
|
|
|
#ifndef THREADS_H
|
|
|
|
|
|
|
|
#define THREADS_H 1
|
|
|
|
|
2009-03-26 00:39:57 +00:00
|
|
|
#ifdef THREADS
|
|
|
|
|
2013-04-25 23:15:04 +01:00
|
|
|
Int Yap_thread_self(void);
|
|
|
|
int Yap_get_thread_ref_count(int);
|
|
|
|
void Yap_set_thread_ref_count(int,int);
|
2014-05-25 20:50:07 +01:00
|
|
|
CELL Yap_thread_create_engine(YAP_thread_attr *);
|
2013-04-25 23:15:04 +01:00
|
|
|
Int Yap_thread_attach_engine(int);
|
|
|
|
Int Yap_thread_detach_engine(int);
|
|
|
|
Int Yap_thread_destroy_engine(int);
|
2004-07-22 22:50:53 +01:00
|
|
|
|
2009-03-24 13:27:36 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|