btw, boost1.47 has issues with interprocess_semaphore
see boost bug https://svn.boost.org/trac/boost/ticket/4524
I think my patch should not be merged until boost bug 4524 is resolved
I keep an eye on bug 4524 and will drop a note here
** Bug watch added: Boost Trac #4524
http://svn.boost.org
** Patch added: "sem.patch"
https://bugs.launchpad.net/bugs/804559/+attachment/2187219/+files/sem.patch
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/804559
Title:
portable semaphore implementa
Public bug reported:
Portable "class Semaphore" implementation using boost::interprocess_semaphore.
Patch attached.
** Affects: dcplusplus
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC
I mistaken somewhat , bugs #617757 and #617591 should be "swapped" in my
last comment
--
Pointer.h/intrusive_ptr_base class is too heavy-weight
https://bugs.launchpad.net/bugs/617591
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
I agree, these typedefs are better than my patch.
The only drawback I see is that recursive_mutex and lock_guard are not
garanteed to be header-only.
--
portable FastCriticalSection implementation
https://bugs.launchpad.net/bugs/617757
You received this bug notification because you are a member
bug #617757 is fixed, in the same way I proposed.
bug #617591 is fixed as "Big Muscle" proposed in bug notes. It is better
than in my patch. The only drawback is that boost/recursive_mutex.hpp is
not garanteed to be header-only.
So, I consider this two bugs are fixed.
--
Pointer.h/intrusive_ptr
My motivation for writing all this patches (besides bug in using pthread_cond)
was bad (coarse) locking for unix. It uses one static mutex in Thread class for
almost all synchronization in the whole code.
While I agree that spinning is suitable for FastCriticalSection, it's not easy
to implemen
About weak/strong ordering, much information is available in internet, for
example:
http://en.wikipedia.org/wiki/Memory_ordering
http://en.wikipedia.org/wiki/Memory_barrier
http://msdn.microsoft.com/en-us/library/ms686355(VS.85).aspx
In short, "strong" ordering garantees that all threads in all p
Gennady Proskurin has proposed merging lp:~gpr/dcplusplus/sync into
lp:dcplusplus.
Requested reviews:
Dcplusplus-team (dcplusplus-team)
Related bugs:
#617021 Semaphore potentially may underflow and become negative
https://bugs.launchpad.net/bugs/617021
#617591 Pointer.h
Gennady Proskurin has proposed merging lp:~gpr/linuxdcpp/sync into lp:linuxdcpp.
Requested reviews:
LinuxDC++ Team (linuxdcpp-team)
Related bugs:
#617021 Semaphore potentially may underflow and become negative
https://bugs.launchpad.net/bugs/617021
#617591 Pointer.h/intrusive_ptr_base
** Branch linked: lp:~gpr/linuxdcpp/sync
--
Pointer.h/intrusive_ptr_base class is too heavy-weight
https://bugs.launchpad.net/bugs/617591
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
Status in DC++: New
Status in Linux DC++: Con
** Branch linked: lp:~gpr/linuxdcpp/sync
--
portable FastCriticalSection implementation
https://bugs.launchpad.net/bugs/617757
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
Status in Linux DC++: New
Bug description:
patch attach
** Branch linked: lp:~gpr/linuxdcpp/sync
--
atomic counters implemented
https://bugs.launchpad.net/bugs/617988
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
Status in DC++: New
Status in Linux DC++: New
Bug description:
Implemen
** Branch linked: lp:~gpr/linuxdcpp/sync
--
Semaphore potentially may underflow and become negative
https://bugs.launchpad.net/bugs/617021
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
Status in DC++: New
Status in Linux DC++: Co
14 matches
Mail list logo