mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread_pthread.c (native_mutex_reinitialize_atfork): removed
unused macro. * thread_win32.c (native_mutex_reinitialize_atfork): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
66fc78d207
commit
b5d612e0df
3 changed files with 6 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu May 5 22:23:34 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* thread_pthread.c (native_mutex_reinitialize_atfork): removed
|
||||
unused macro.
|
||||
* thread_win32.c (native_mutex_reinitialize_atfork): ditto.
|
||||
|
||||
Thu May 5 22:09:39 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/date/date_core.c (DAY_IN_NANOSECONDS): long long int is not
|
||||
|
|
|
@ -29,11 +29,6 @@ static void native_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
|
|||
static void native_cond_initialize(pthread_cond_t *cond);
|
||||
static void native_cond_destroy(pthread_cond_t *cond);
|
||||
|
||||
#define native_mutex_reinitialize_atfork(lock) (\
|
||||
native_mutex_unlock(lock), \
|
||||
native_mutex_initialize(lock), \
|
||||
native_mutex_lock(lock))
|
||||
|
||||
#define GVL_SIMPLE_LOCK 0
|
||||
#define GVL_DEBUG 0
|
||||
|
||||
|
|
|
@ -379,8 +379,6 @@ native_mutex_initialize(rb_thread_lock_t *lock)
|
|||
#endif
|
||||
}
|
||||
|
||||
#define native_mutex_reinitialize_atfork(lock) (void)(lock)
|
||||
|
||||
static void
|
||||
native_mutex_destroy(rb_thread_lock_t *lock)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue