Hi This function needs to be available to the library.
- Lauri
>From f873eda9fe6d054611c364e18cf29a4d17257ca5 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Mon, 28 May 2012 17:25:39 +0300 Subject: [PATCH] Export the thread_key init for the lib Signed-off-by: Lauri Kasanen <[email protected]> --- src/include/monkey.h | 2 ++ src/monkey.c | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/include/monkey.h b/src/include/monkey.h index 25f56bf..2e8b72b 100644 --- a/src/include/monkey.h +++ b/src/include/monkey.h @@ -38,4 +38,6 @@ mk_pointer mk_monkey_protocol; gid_t EGID; gid_t EUID; +void mk_thread_keys_init(); + #endif diff --git a/src/monkey.c b/src/monkey.c index e3304c0..3fae88b 100644 --- a/src/monkey.c +++ b/src/monkey.c @@ -42,7 +42,7 @@ static const char MONKEY_BUILT[] = __DATE__ " " __TIME__; static const char MONKEY_BUILT[] = "Unknown"; #endif -static void mk_thread_keys_init(void) +void mk_thread_keys_init(void) { /* Create thread keys */ pthread_key_create(&worker_sched_node, NULL); -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
