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

fixes for spawn_()

This commit is contained in:
Oliver Kowalke
2013-01-17 19:18:54 +01:00
parent 390a1a865b
commit 80c2aa3f40
12 changed files with 126 additions and 91 deletions

View File

@@ -25,8 +25,8 @@ namespace boost {
namespace fibers {
void
fiber::spawn_( ptr_t & f)
{ detail::scheduler::instance().spawn( f); }
fiber::spawn_( fiber & f)
{ detail::scheduler::instance().migrate_to( f); }
int
fiber::priority() const