summaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/job.h
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/job.h')
-rw-r--r--fastos/src/tests/job.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastos/src/tests/job.h b/fastos/src/tests/job.h
index 15356270972..4546cfe1daa 100644
--- a/fastos/src/tests/job.h
+++ b/fastos/src/tests/job.h
@@ -28,7 +28,7 @@ public:
std::mutex *mutex;
std::condition_variable *condition;
FastOS_ThreadInterface *otherThread, *ownThread;
- int result;
+ std::atomic<int> result;
FastOS_ThreadId _threadId;
Job()