mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 23:50:19 +02:00
Move {total,current}-processor-count' outside of
posix.c'.
* libguile/posix.c (scm_total_processor_count, scm_current_processor_count): Move to... * libguile/threads.c: ... here. * libguile/posix.h (scm_total_processor_count, scm_current_processor_count): Move declarations to... * libguile/threads.h: ... here. * test-suite/tests/posix.test ("nproc"): Move tests to... * test-suite/tests/threads.test: ... here.
This commit is contained in:
parent
bbec460245
commit
d20912e67d
6 changed files with 53 additions and 47 deletions
|
@ -230,6 +230,9 @@ SCM_API int scm_pthread_cond_timedwait (pthread_cond_t *cond,
|
|||
SCM_API unsigned int scm_std_sleep (unsigned int);
|
||||
SCM_API unsigned long scm_std_usleep (unsigned long);
|
||||
|
||||
SCM_API SCM scm_total_processor_count (void);
|
||||
SCM_API SCM scm_current_processor_count (void);
|
||||
|
||||
#endif /* SCM_THREADS_H */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue