56 lines
1.6 KiB
Markdown
56 lines
1.6 KiB
Markdown
# KAJE-JAVA
|
|
All things Java<br/>
|
|
|
|
<h3>Session 03 - Concurrency - Processes and Threads</h3>
|
|
<table>
|
|
<tr>
|
|
<th>Name</th><th>Description</th>
|
|
</tr>
|
|
<tr><td>ProcessDemo</td><td>Executing an external application</td></tr>
|
|
<tr><td>ThreadsDemo</td><td>Two ways of creating threads</td></tr>
|
|
</table>
|
|
|
|
<h3>04 - Concurrency - Synchronization and Deadlock</h3>
|
|
<table>
|
|
<tr>
|
|
<th>Name</th><th>Description</th>
|
|
</tr>
|
|
<tr><td>ProConUnprotected</td><td>Unprotected concurrency</td></tr>
|
|
<tr><td>SemaphoreDemo</td><td></td></tr>
|
|
</table>
|
|
|
|
<h3>05 - Concurrency - High-Level Concurrency Primitives</h3>
|
|
<table>
|
|
<tr>
|
|
<th>Name</th><th>Description</th>
|
|
</tr>
|
|
<tr><td>CircularBuffer</td><td>The principle</td></tr>
|
|
<tr><td>ConditionDemo</td><td>Circular buffer using Condition Variables</td></tr>
|
|
<tr><td>MonitorCase1</td><td>Why wont it work?</td></tr>
|
|
<tr><td>MonitorCase2</td><td>The solution</td></tr>
|
|
</table>
|
|
|
|
<h3>07 - IO - Blocking vs non-blocking</h3>
|
|
<table>
|
|
<tr>
|
|
<th>Name</th><th>Description</th>
|
|
</tr>
|
|
<tr><td>ClassicIoUnbuffered</td><td></td></tr>
|
|
<tr><td>ClassicIoBuffered</td><td></td></tr>
|
|
<tr><td>ClassicIoManBuffered</td><td></td></tr>
|
|
<tr><td>ClassicIoWholeFile</td><td></td></tr>
|
|
<tr><td>NioLineCount</td><td></td></tr>
|
|
</table>
|
|
|
|
<h3>09 - Scheduling</h3>
|
|
<p>As a treat: A small game taken from: https://zetcode.com/javagames/movingsprites/
|
|
<table>
|
|
<tr>
|
|
<th>Name</th><th>Description</th>
|
|
</tr>
|
|
<tr><td>Game-1</td><td>Simple moving spaceship</td></tr>
|
|
<tr><td>Game-2</td><td>Added missile and refactoring</td></tr>
|
|
<tr><td>Game-3</td><td>Missiles threaded</td></tr>
|
|
</table>
|
|
|