Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
achabense committed Aug 14, 2023
1 parent 0bd784a commit f4a9f55
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stl/src/cthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ _CRTIMP2_PURE _Thrd_result __cdecl _Thrd_create(_Thrd_t* thr, _Thrd_start_t func

_Cnd_t cond = reinterpret_cast<_Cnd_t>(&cond_storage);
_Mtx_t mtx = &mtx_storage;
b.func = func;
b.data = d;
b.cond = &cond;
b.mtx = &mtx;
b.started = &started;
b.func = func;
b.data = d;
b.cond = &cond;
b.mtx = &mtx;
b.started = &started;
_Mtx_lock(mtx);
if ((res = _Thrd_start(thr, _Thrd_runner, &b)) == _Thrd_result::_Success) { // wait for handshake
while (!started) {
Expand Down

0 comments on commit f4a9f55

Please sign in to comment.