mucbuc / circuit (public) (License: GPLv3) (since 2020-06-28) (hash sha1)
Synchronize container operations for single objects
List of commits:
Subject Hash Author Date (UTC)
add unlock ed0dd962bd7e1468faa3f74a6d61c6ba94b8db13 mucbuc 2020-01-12 16:43:19
documentaoion 731b8bf31861113f070ee9e3613fdfbaef1e70a6 mucbuc 2020-01-12 15:46:29
index.h 74aafab338206a3d3c02b7448852dbde831692dc mucbuc 2020-01-12 04:42:02
factory returns shared_ptr 0d8ff1b381e3c7e275ebd99705853f54b100cdf9 mucbuc 2020-01-12 04:05:15
init 01daaea5899ac77acb8ec0c15583573d78eb9f31 mucbuc 2020-01-12 03:10:36
Commit ed0dd962bd7e1468faa3f74a6d61c6ba94b8db13 - add unlock
Author: mucbuc
Author date (UTC): 2020-01-12 16:43
Committer name: mucbuc
Committer date (UTC): 2020-01-12 16:43
Parent(s): 731b8bf31861113f070ee9e3613fdfbaef1e70a6
Signing key:
Tree: 190cca2dbe46344b1d94e3d69c63024fe1b3a95e
File Lines added Lines deleted
src/impl/circuit_host.hxx 3 0
File src/impl/circuit_host.hxx changed (mode: 100644) (index b07e458..8cd242c)
... ... namespace twice_size {
48 48 bool result(false); bool result(false);
49 49 std::thread([this, &result]() { std::thread([this, &result]() {
50 50 result = m_mutex.try_lock(); result = m_mutex.try_lock();
51 if (result) {
52 m_mutex.unlock();
53 }
51 54 }).join(); }).join();
52 55 return !result; return !result;
53 56 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/mucbuc/circuit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/mucbuc/circuit

Clone this repository using git:
git clone git://git.rocketgit.com/user/mucbuc/circuit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main