This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
os_cp:2024:prog_assignment [2024/05/21 21:14] 127.0.0.1 external edit |
os_cp:2024:prog_assignment [2024/06/06 01:38] (current) jkonczak |
||
---|---|---|---|
Line 18: | Line 18: | ||
redundancy will lower the grade. | redundancy will lower the grade. | ||
- | The deadline for the assignment is **02.06.2024** (AoE). Please send the | + | The deadline for the assignment is 02.06.2024 (AoE). Please send the |
solutions to me as an attachment to an e-mail message with the subject | solutions to me as an attachment to an e-mail message with the subject | ||
beginning with ''[OSCP]''. | beginning with ''[OSCP]''. | ||
+ | |||
+ | **The tests that I used to tell if your code behaves as expected are available [[https://www.cs.put.poznan.pl/jkonczak/misc/oscp-prog-check.tar.xz|here]].** | ||
<code c header.h> | <code c header.h> | ||
Line 70: | Line 72: | ||
* The identifiers shall be consecutive numbers starting from 0. | * The identifiers shall be consecutive numbers starting from 0. | ||
* Identifier 0 must always be the main thread. | * Identifier 0 must always be the main thread. | ||
+ | * | ||
+ | * (clarification added on 28 May) thread identifiers must not be | ||
+ | * reused; when a thread with an identifier ID terminates, no new | ||
+ | * thread may get the identifier ID. | ||
* | * | ||
* Each thread must have a message queue in that at most | * Each thread must have a message queue in that at most |