- Регистрация
- 25.10.2016
- Сообщения
- 25
- Благодарностей
- 3
- Баллы
- 3
Hello guys. I'm trying to lock a thread in order to each one has its own ID. To tell the truth, now I just need to know who is executed first, because the first one will do the initial stuff (copy lists and other things).
So, don't know why but anyway the code get lost and I get repeated IDs for different threads.
I didn't want to create the global in real time to check it (try, catch). That's really annoying to debug in project maker (have to delete by hand the global variable to debug in PM).
By the way, are there any way to debug this? I have Visual Studio anyway.
Thank you guys!
So, don't know why but anyway the code get lost and I get repeated IDs for different threads.
I didn't want to create the global in real time to check it (try, catch). That's really annoying to debug in project maker (have to delete by hand the global variable to debug in PM).
By the way, are there any way to debug this? I have Visual Studio anyway.
Thank you guys!