From: SASADA Koichi Date: 2014-08-15T07:47:53+09:00 Subject: [ruby-core:64365] Re: [ruby-trunk - Feature #10134] [Open] [PATCH] thread_pthread: prefer native types/functions +1 (2014/08/15 6:15), normalperson@yhbt.net wrote: > Issue #10134 has been reported by Eric Wong. > > ---------------------------------------- > Feature #10134: [PATCH] thread_pthread: prefer native types/functions > https://bugs.ruby-lang.org/issues/10134 > > * Author: Eric Wong > * Status: Open > * Priority: Low > * Assignee: Eric Wong > * Category: core > * Target version: current: 2.2.0 > ---------------------------------------- > This will make it easier for us to try alternative mutex/condvar > implementations while still using pthreads for thread management. > It may be worth trying alternative mutexes/condvars (e.g. based on > atomics + futexes) if they can be significantly cheaper/faster. > > I'll commit in a few days unless there's a good reason for exposing > pthread_* in more places than we need. > > > ---Files-------------------------------- > thread_native.patch (6.13 KB) > > -- // SASADA Koichi at atdot dot net