Project

General

Profile

Actions

Feature #10134

closed

[PATCH] thread_pthread: prefer native types/functions

Added by normalperson (Eric Wong) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
[ruby-core:64364]

Description

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) thread_native.patch normalperson (Eric Wong), 08/14/2014 09:15 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0