Compare commits

..

2 Commits

Author SHA1 Message Date
f5a5bade28 reanme file 2023-12-05 21:33:25 +01:00
9abb7fcf26 Cleanup code 2023-12-05 21:32:22 +01:00
2 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,9 @@
find_package(Qt6 COMPONENTS Core REQUIRED)
add_executable(task3-chpt3ex12)
add_executable(task3-chpt3ex12-rd)
target_sources(task3-chpt3ex12 PRIVATE
main.cpp)
target_sources(task3-chpt3ex12-rd PRIVATE
main-rd.cpp)
target_link_libraries(task3-chpt3ex12 PRIVATE
target_link_libraries(task3-chpt3ex12-rd PRIVATE
Qt6::Core)

View File

@ -89,6 +89,7 @@ protected:
int main(int argc, char *argv[]) {
//QCoreApplication app(argc, argv);
QSemaphore lockC(1);
QSemaphore lockBC(0);