tarfeef101
|
39f79e8384
i totally remember how to pointer
|
7 yıl önce |
tarfeef101
|
ed820d5803
bugfixes for compilation
|
7 yıl önce |
tarfeef101
|
4eae9b8b22
had to rename arrays
|
7 yıl önce |
tarfeef101
|
404f8f8db7
radical change. making arrays for everything
|
7 yıl önce |
tarfeef101
|
63613967fd
so apparently the execution time of threads is random, so we have to ensure we don't let 2 cars go from the same place to the same place at the same time, or we don't know which one to delete when exit is called, since that only give coords
|
7 yıl önce |
tarfeef101
|
5b113eefc0
ready to show to prof
|
7 yıl önce |
tarfeef101
|
2756394816
was using wrong header
|
7 yıl önce |
tarfeef101
|
44a98ce710
needed to add the library for threads directly
|
7 yıl önce |
tarfeef101
|
ba3908af2a
had an extra underscore
|
7 yıl önce |
tarfeef101
|
7bbd784093
trying to not wake all, but do independently
|
7 yıl önce |
tarfeef101
|
5d68b71492
changing goto to else condition. i love goto and all, but objectively should do this
|
7 yıl önce |
tarfeef101
|
ba2fa48a83
even more printfs
|
7 yıl önce |
tarfeef101
|
511074a0b8
more printfs
|
7 yıl önce |
tarfeef101
|
8c9cc3a600
added debugging line
|
7 yıl önce |
tsdedhar
|
8e5ac8e229
working, but slow. and also collisions occur sometimes
|
7 yıl önce |
tarfeef101
|
e8e277e94d
removed unneeded code for queues that we removed
|
7 yıl önce |
tarfeef101
|
d497ecec24
first debug msg
|
7 yıl önce |
tarfeef101
|
f67e6d9777
removed extra = in assignment
|
7 yıl önce |
tarfeef101
|
e3d159b674
added edge case for deletion in lists
|
7 yıl önce |
tarfeef101
|
6c05680a6b
small changes to memory stuffs to hopefully not fail
|
7 yıl önce |
tarfeef101
|
d59a43697a
using cv destroy instead of free like a dumbass:
|
7 yıl önce |
tarfeef101
|
30ad8a2702
added return if adding to an empty list, otherwise we mess with list order
|
7 yıl önce |
tarfeef101
|
a0f263472b
need to have the lock to broadcast
|
7 yıl önce |
tarfeef101
|
d0233a7610
don't have to release lock when using CVs, it does that for you
|
7 yıl önce |
tarfeef101
|
aa6666a09d
typos are fun
|
7 yıl önce |
tarfeef101
|
c82604314b
typdef doesn't work backwards :(
|
7 yıl önce |
tarfeef101
|
fdb50de1bf
removed queues since they aren't really used
|
7 yıl önce |
tarfeef101
|
87a9175776
made local functions static
|
7 yıl önce |
tarfeef101
|
45461fe95b
forgot to return things with returns types :D
|
7 yıl önce |
tarfeef101
|
bf69518564
first batch of compile error fixes. typedef isn't working...
|
7 yıl önce |