2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-18 14:02:18 +00:00
Commit Graph

128 Commits

Author SHA1 Message Date
Oliver Kowalke
dfafec5c8b run scheduler after each asio::spawn and usage of yield_context 2013-09-11 09:26:51 +02:00
Oliver Kowalke
0eeaf2e9ec some clean-up of the code 2013-09-09 09:33:11 +02:00
Oliver Kowalke
e996d2e28f use coroutines inside fiber 2013-09-09 08:52:26 +02:00
Oliver Kowalke
00ec9d32a3 update 2013-08-28 21:57:14 +02:00
Oliver Kowalke
f1ff2b2c94 fix promsie issue related to MSVC + typedef 2013-08-19 17:40:53 +02:00
Oliver Kowalke
104278aa8a some fixes for auto-linking on WINDOWS 2013-08-18 21:03:29 +02:00
Oliver Kowalke
9387202486 fix typedef of function-ptr in packaged_task 2013-08-18 19:47:33 +02:00
Oliver Kowalke
87f10d7d70 fix template arg for packaged_task in asnyc() 2013-08-18 19:46:03 +02:00
Oliver Kowalke
9010909a6a some fixes for MSVC 2013-08-18 19:03:05 +02:00
Oliver Kowalke
ca292f452d disable warinings on WINDOWS 2013-08-18 16:18:28 +02:00
Oliver Kowalke
c45acbdd17 remove copy-n-paste failure 2013-08-18 14:00:09 +02:00
Oliver Kowalke
9d67164839 adapt io_service to wait-op requirements 2013-08-18 10:52:36 +02:00
Oliver Kowalke
3485f551aa add async() 2013-08-18 10:30:15 +02:00
Oliver Kowalke
df59ffcff3 add wait_for/wait_until to futures 2013-08-17 11:23:01 +02:00
Oliver Kowalke
4121cac318 add support for timed-operations (wait_for/wait_until) 2013-08-16 21:24:32 +02:00
Oliver Kowalke
94482d25b6 add time-point to schedulable fiber 2013-08-13 18:23:53 +02:00
Oliver Kowalke
f06b6cf0d4 fix auto-link in config.hpp 2013-08-13 10:27:02 +02:00
Oliver Kowalke
77b8f1270c add recursive_mutex 2013-06-25 17:32:40 +02:00
Oliver Kowalke
50441a8980 fiber_group added 2013-06-23 13:02:55 +02:00
Oliver Kowalke
ef762d4195 support for fiber_specific_pointer 2013-06-23 12:27:15 +02:00
Oliver Kowalke
3ba86d0e27 let scheduler::instance() return a pointer 2013-06-23 12:24:42 +02:00
Oliver Kowalke
11eb0c6082 add boost.asio spawn() for fibers 2013-06-19 18:03:48 +02:00
Oliver Kowalke
3dda52415f consolidate wqueue_t and wqueue_work_t 2013-06-17 17:35:19 +02:00
Oliver Kowalke
cb42a47e7c make io_service useable for c++03 compilers too 2013-06-16 16:18:51 +02:00
Oliver Kowalke
f0241982c2 make yield::operator[]( error_code) const 2013-06-16 16:17:24 +02:00
Oliver Kowalke
de3bc64e4f boost.asio related stuff (fiber-aware io_servic etc.) 2013-06-14 20:37:47 +02:00
Oliver Kowalke
1db7951449 fix type in use_fiber 2013-06-14 19:07:36 +02:00
Oliver Kowalke
31c764b7bc some code clean-up 2013-06-14 16:53:46 +02:00
Oliver Kowalke
04ddde32f1 refactor of support of boost.asio async_result (use_future_t) 2013-06-13 17:39:03 +02:00
Oliver Kowalke
b46af98e7a use boost::allocator_arg_t in promise and packaged_task 2013-06-12 16:57:41 +02:00
Oliver Kowalke
61c3fd4589 some fixes 2013-06-10 20:11:52 +02:00
Oliver Kowalke
6b5d58d2bb some enhancments 2013-06-09 20:31:38 +02:00
Oliver Kowalke
5396888ec3 atomic-ops removed 2013-03-19 18:19:27 +01:00
Oliver Kowalke
9dfeb585d6 remove code for fiber migration 2013-03-19 17:44:43 +01:00
Oliver Kowalke
7c84b5bac6 release lock in notify() earlier 2013-03-13 19:30:25 +01:00
Oliver Kowalke
8d94982366 swap waiting container;rename container of waiting fibers 2013-03-13 19:27:34 +01:00
Oliver Kowalke
6cc399c598 new future impl: support for references as return type 2013-03-13 19:24:03 +01:00
Oliver Kowalke
126f06d44d new future impl : packaged_task 2013-03-11 20:52:57 +01:00
Oliver Kowalke
ef1e8ff674 skeleton of packaged_task 2013-03-07 22:02:26 +01:00
Oliver Kowalke
f742b5f4dc reorganize files relaed to future 2013-03-07 17:36:57 +01:00
Oliver Kowalke
5cb733ad7d new future impl: shared_future constructed from rv-reference of future 2013-03-04 19:49:48 +01:00
Oliver Kowalke
0b6cbe83ae new future impl: shared_future 2013-03-03 18:23:51 +01:00
Oliver Kowalke
12229bbea2 new future impl: 1.part: promise, future, future_base, future_object 2013-03-03 16:54:53 +01:00
Oliver Kowalke
faa8e41890 move ref-counting into detail::notify 2013-02-24 09:43:50 +01: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
34b7c7b621 condition uses int for state 2013-02-23 14:41:33 +01:00
Oliver Kowalke
8f0ba61854 mutext uses int for state 2013-02-23 14:41:08 +01:00
Oliver Kowalke
ca0a86b611 spinlock uses int for state 2013-02-23 14:40:34 +01:00
Oliver Kowalke
36f4564f81 fiber_base uses int for state 2013-02-23 14:40:13 +01:00
Oliver Kowalke
c72d952e2a remove is_fiberized() 2013-02-23 10:52:09 +01:00