Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1862: file_lock.hpp will not compile - at least under MSVC8
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-25 15:24:01
#1862: file_lock.hpp will not compile - at least under MSVC8
---------------------------------------------------+------------------------
Reporter: Ranger Harke <rharke.bugs_at_[hidden]> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: Boost 1.35.1 | Component: interprocess
Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords: file_lock
---------------------------------------------------+------------------------
Comment (by Ranger Harke <rharke.bugs_at_[hidden]>):
I also note that, of the duplicated functions, the first set uses
winapi::sched_yield() to relinquish its timeslice, whereas the second set
uses sleep(0) to do the same.
I'm not sure which is meant to be correct, as winapi::sched_yield() looks
non-portable, while sleep() is a function that is not in scope.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1862#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC