Nat Goodspeed
3cb5b2a341
Remove thread_affinity flag and access methods.
...
Specificaly, remove access methods in worker_fiber, fiber and this_fiber.
thread_affinity is not used by any present library code. It was intended for
use by workstealing user sched_algorithm implementations. The properties
mechanism is a better way to address scheduler-specific properties.
2014-11-11 09:53:25 -05:00
Oliver Kowalke
22850775ca
variadric tempalte args
2014-07-15 20:33:14 +02:00
Oliver Kowalke
a2d3eba716
fix migrating a fiber between threads
2014-06-26 19:01:49 +02:00
Oliver Kowalke
91ccc91ee7
some fixes
2014-06-22 19:31:58 +02:00
Oliver Kowalke
026003bb65
use the free fm_<xyz> - functions
2014-06-17 11:51:14 +02:00
Oliver Kowalke
ba010422f1
allocate worker_fiber on fiber's stack
2014-03-20 18:14:46 +01:00
Oliver Kowalke
228aae6833
do not use reference-counting
2014-03-19 19:55:56 +01:00
Oliver Kowalke
431d829776
no intrusive-ptr
2014-03-18 22:01:14 +01:00
Oliver Kowalke
64c372d059
add thread_affinity() to fiber's public interface
2013-11-02 16:56:24 +01:00
Oliver Kowalke
4a483d3215
do not throw in start_fiber_()
2013-10-02 17:13:00 +02:00
Oliver Kowalke
decba3f33f
std::terminate() called if exception not catched
2013-10-01 19:44:06 +02:00
Oliver Kowalke
73e87bc599
fix bug related to fiber::join()
2013-09-28 08:20:59 +02:00
Oliver Kowalke
60031f8ec1
Nat's patch applied (Mac OS X related stuff)
2013-09-26 19:25:24 +02:00
Oliver Kowalke
a71c8478fe
make fiber::detach() not inlined
2013-09-13 17:38:09 +02:00
Oliver Kowalke
f06b6cf0d4
fix auto-link in config.hpp
2013-08-13 10:27:02 +02:00
Oliver Kowalke
3ba86d0e27
let scheduler::instance() return a pointer
2013-06-23 12:24:42 +02:00
Oliver Kowalke
31c764b7bc
some code clean-up
2013-06-14 16:53:46 +02:00
Oliver Kowalke
61c3fd4589
some fixes
2013-06-10 20:11:52 +02:00
Oliver Kowalke
92a43d3391
rename fiber::spawn_() to fiber::start_fiber_()nd impl_ to fiber_data_
2013-02-24 07:26:49 +01:00
Oliver Kowalke
c72d952e2a
remove is_fiberized()
2013-02-23 10:52:09 +01:00
Oliver Kowalke
c781386ed7
replace add() by spwan() in algorithm
2013-01-31 18:06:40 +01:00
Oliver Kowalke
58c09646e7
check for self-joining
2013-01-30 17:39:23 +01:00
Oliver Kowalke
41eda947d2
move fiber in migrate_to
2013-01-27 12:44:48 +01:00
Oliver Kowalke
0abfc511bb
tests
2013-01-27 10:14:15 +01:00
Oliver Kowalke
10786c3ed6
stuff for fixin
2013-01-24 20:07:40 +01:00
Oliver Kowalke
80c2aa3f40
fixes for spawn_()
2013-01-17 19:18:54 +01:00
Oliver Kowalke
390a1a865b
some modification for worksteeling + synchr.
2013-01-16 20:23:56 +01:00
Oliver Kowalke
39537ee063
Please enter the commit message for your changes. Lines starting
2013-01-15 19:41:21 +01:00
Oliver Kowalke
a8b32fda25
some fixes related to round_robin and multithreading
2013-01-14 19:53:59 +01:00
Oliver Kowalke
df40f8c9f4
add interuption_points() in waiting functions
2013-01-11 18:59:21 +01:00
Oliver Kowalke
cff07a3645
interruption
2013-01-10 19:51:34 +01:00
Oliver Kowalke
e04637edaf
some mods
2013-01-07 17:25:03 +01:00
Oliver Kowalke
40dcccfef1
remove assertions, adapt tests
2013-01-03 06:35:50 +01:00
Oliver Kowalke
77e1b216e0
use atomic operations
2012-12-31 11:34:02 +01:00
Oliver Kowalke
f8e68e0987
let fiber::join() throw exceptions
2012-12-29 10:53:11 +01:00
Oliver Kowalke
14d40f2d86
priority() functons added to fiber
2012-12-24 07:46:34 +01:00
Oliver Kowalke
cfdcf1d16a
interface algorithm, round_robin
2012-12-19 19:37:05 +01:00
Oliver Kowalke
fb79b6eccb
move scheduler in public namespace
2012-12-14 12:33:37 +01:00
Oliver Kowalke
81e62e8962
changed directory structure as required by modularized-boost
2012-12-09 15:22:59 +01:00