Project

General

Profile

Feature #1727

Make Boost uFcontext the default ULT implementation on supported platforms

Added by Sam White 6 months ago. Updated 3 months ago.

Status:
Merged
Priority:
Normal
Category:
-
Target version:
Start date:
10/30/2017
Due date:
% Done:

0%


Description

Boost uFcontext threads have lower context switching than any existing implementation we have, so should be made the default wherever they work. Separate issues should be opened for platforms where they don't work.

History

#1 Updated by Sam White 5 months ago

Bump

#2 Updated by Sam White 5 months ago

  • Tracker changed from Bug to Feature

#3 Updated by Sam White 5 months ago

Bump, this would be valuable to have

#4 Updated by Seonmyeong Bak 4 months ago

Thread_local variables are not guaranteed to work with boost-context.

I think it works on linux but didn't work on OSX. So, if we want to make this as default ULT implementation then we should turn off thread local based `Cpv` implementation and use `Cpv` based on pthread_set/getspecific

#5 Updated by Sam White 4 months ago

Yes, so it should be the default on all platforms that it doesn't break other things on

#6 Updated by Seonmyeong Bak 4 months ago

  • Status changed from New to Implemented

#8 Updated by Sam White 3 months ago

  • Status changed from Implemented to Merged

Also available in: Atom PDF