2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-13 00:12:17 +00:00
This commit is contained in:
Oliver Kowalke
2013-01-27 10:14:15 +01:00
parent 007f259780
commit 0abfc511bb
10 changed files with 69 additions and 64 deletions

View File

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