Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 7 years ago

Language

C++

Compiler

clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git 6a00520d81d71f6c1df16288cf7f65b8ab9ac124) (https://github.com/llvm-mirror/llvm.git 92802c240495b9d471a3bd0ff3b8a08ff3c998d0)

Options
Warnings
Boost 1.67.0
C++2a
no pedantic
Raw compiler options
-I. -fcoroutines-ts

Author

anonymous

almost 7 years ago

art/blocking.hpp
art/core.hpp
art/detached_task.hpp
art/shared_task.hpp
art/task.hpp
art/.obsolete/lazy_task.hpp
art/detail/copy_or_move.hpp
art/detail/spinlock.hpp
art/detail/storage.hpp
art/detail/task.hpp
art/detail/unlock_guard.hpp
art/sync/buffered_channel.hpp
art/sync/channel.hpp
art/sync/mutex.hpp
art/sync/when_all.hpp
art/sync/when_any.hpp
art/sync/work_group.hpp

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.67.0/clang-head/include -std=c++2a -I. -fcoroutines-ts
[task-chaining]
ans: 65536
------------
[task-cancelling]
Resource is released
------------
[wait-cancelled]
Operation canceled
------------
[timed-wait]
timeout
ans: 0
------------
[channel]
pushed: 0
popped: 0
pushed: 1
popped: 1
pushed: 2
popped: 2
pushed: 3
popped: 3
pushed: 4
popped: 4

------------
[buffered_channel]
pushed: 0
pushed: 1
pushed: 2
pushed: 3
pushed: 4
popped: 0
popped: 1
popped: 2
popped: 3
popped: 4

------------
Exit Code:
0