Compare commits
2 Commits
9ff5c03e6e
...
f5a5bade28
Author | SHA1 | Date | |
---|---|---|---|
f5a5bade28 | |||
9abb7fcf26 |
@ -1,10 +1,9 @@
|
|||||||
|
|
||||||
find_package(Qt6 COMPONENTS Core REQUIRED)
|
find_package(Qt6 COMPONENTS Core REQUIRED)
|
||||||
|
|
||||||
add_executable(task3-chpt3ex12)
|
add_executable(task3-chpt3ex12-rd)
|
||||||
|
|
||||||
target_sources(task3-chpt3ex12 PRIVATE
|
target_sources(task3-chpt3ex12-rd PRIVATE
|
||||||
main.cpp)
|
main-rd.cpp)
|
||||||
|
|
||||||
target_link_libraries(task3-chpt3ex12 PRIVATE
|
target_link_libraries(task3-chpt3ex12-rd PRIVATE
|
||||||
Qt6::Core)
|
Qt6::Core)
|
@ -89,6 +89,7 @@ protected:
|
|||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
//QCoreApplication app(argc, argv);
|
//QCoreApplication app(argc, argv);
|
||||||
|
|
||||||
QSemaphore lockC(1);
|
QSemaphore lockC(1);
|
||||||
QSemaphore lockBC(0);
|
QSemaphore lockBC(0);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user