Skip to content
Snippets Groups Projects

Übung2

Open omah03 requested to merge omah03/alp4-repo-template:Übung2 into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -9,8 +9,8 @@
#define crosses 100000
int car_on_bridge = 0;
void* func(void* arg){
int car_id = *(int*)arg;
void* func(void* ptr){
int car_id = *(int*)ptr;
int crosses_counter = 0;
while (crosses_counter < crosses){
while (car_on_bridge == 1){
Loading