diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-04-25 22:41:58 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-04-25 22:41:58 +0200 |
commit | d20912e67d810ce5eb9dc1b8f8afd8c22aa2451b (patch) | |
tree | 987f0fd1150c26e230547b21c076f867fca1b1e9 /libguile/posix.h | |
parent | bbec4602457ed3e139e9dae99b4b495a3bc5eb71 (diff) | |
download | guile-d20912e67d810ce5eb9dc1b8f8afd8c22aa2451b.tar.gz |
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.
Diffstat (limited to 'libguile/posix.h')
-rw-r--r-- | libguile/posix.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libguile/posix.h b/libguile/posix.h index e2e19ddd2..92f8b3514 100644 --- a/libguile/posix.h +++ b/libguile/posix.h @@ -3,7 +3,8 @@ #ifndef SCM_POSIX_H #define SCM_POSIX_H -/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003, 2006, 2008, 2009, 2010 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2003, 2006, 2008, + * 2009, 2010, 2011 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -91,8 +92,6 @@ SCM_API SCM scm_sethostname (SCM name); SCM_API SCM scm_gethostname (void); SCM_API SCM scm_getaffinity (SCM pid); SCM_API SCM scm_setaffinity (SCM pid, SCM cpu_set); -SCM_API SCM scm_total_processor_count (void); -SCM_API SCM scm_current_processor_count (void); SCM_INTERNAL void scm_init_posix (void); SCM_INTERNAL scm_i_pthread_mutex_t scm_i_locale_mutex; |