Skip to content

Conversation

@sipa
Copy link
Member

@sipa sipa commented May 13, 2012

Luke noticed there was a boost/thread/* set of synchronisation primitives, separate from those in boost/interprocess/sync/*. Given that they do not need to cope with locks being in shared memory, they are different and simpler on some systems.

This commit replaces all sync.{h,cpp} infrastructure by systems provided by boost/thread/*.

So far, it seems to work well on Linux, OSX and BSD (the latter two required a workaround before, as the interprocess semaphores and condition variables used spinlocks - it seems the thread ones don't).

@jgarzik
Copy link
Contributor

jgarzik commented May 13, 2012

ACK

1 similar comment
@laanwj
Copy link
Member

laanwj commented May 14, 2012

ACK

@gmaxwell
Copy link
Contributor

boost::interprocess::interprocess_mutex dd_mutex in DEBUG_LOCKORDER? (Edit: and, indeed, DEBUG_LOCKORDER is currently broken)

@sipa
Copy link
Member Author

sipa commented May 14, 2012

Fixed DEBUG_LOCKORDER.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should sneak into the makefile :)

@gavinandresen gavinandresen merged commit 660ff17 into bitcoin:master May 18, 2012
@gavinandresen
Copy link
Contributor

ACK, good CPU usage on my mac.

suprnurd pushed a commit to chaincoin-legacy/chaincoin that referenced this pull request Dec 5, 2017
* Shift PS denoms

* fix ui PS restrictions
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request May 6, 2020
3f98b37 [CMake] Check for and require Qt 5.5.1 minimum version (Fuzzbawls)
19ce9de build: Refactor out Qt version check macro (Fuzzbawls)
2c18e82 Bump minimum required Qt to 5.5.1 (Fuzzbawls)

Pull request description:

  As per bitcoin#1292, this effectively bumps the minimum required Qt version to 5.5.1.

  - Removed no longer needed precompiler conditionals
  - Updated autotools to check for and require at least 5.5.1 to build the GUI
  - Updated CMake to check for and require at least 5.5.1 to build the `pivx-qt` target

  Closes bitcoin#1292

ACKs for top commit:
  random-zebra:
    ACK 3f98b37
  furszy:
    looking good, utACK 3f98b37

Tree-SHA512: 32e494ea7f166ce57a9be08dbfcc067546f4e0c46ccc8b9a4836dd148243ca14e1fede166cccdb6ae6ddbae8f0832362a6935e42742ed957b41be3104511bdd0
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants