Gaetano Piazzolla
cf1a561443
JAVA-24659 Simplifying Logic of Consumer-Producer problem. ( #14682 )
...
* JAVA-24659 | moving runflag inside consumer and producer. it makes no sense to have it inside
* JAVA-24659 | using atomic integer for sequence, and moving thread.sleep() in the same place
* JAVA-24659 | enhanced logic for simplicity
2023-09-08 19:14:38 +05:30
Gaetano Piazzolla
5b8de98ac3
JAVA-23377 | fixing sync code block ( #14574 )
2023-08-28 23:08:00 +05:30
Gaetano Piazzolla
f372563ca2
JAVA-21602 | fixing sync code block ( #14318 )
2023-06-28 20:18:08 +05:30
Eugene Kovko
4cc0380249
BAEL-6501 Update article "The producer-consumer problem example in Java" ( #13973 )
...
* BAEL-6501 Changed the synchronization block to use the DataQueue
* BAEL-6501 Fixed the platform agnostic new lines
* BAEL-6501 Moved ID increment to a static method
* BAEL-6501 Added a logger
2023-05-08 14:04:21 -07:00
timis1
163056b1ca
JAVA-18228 Potential issue in "Producer-Consumer Problem With Example… ( #13582 )
...
JAVA-18228 Potential issue in "Producer-Consumer Problem With Example in Java" article
2023-03-22 10:26:22 +02:00
kpentaris
5bc5a0f717
Add application file for BAEL-4038 ( #12851 )
2022-10-19 17:23:17 +02:00
kpentaris
876d78b188
[BAEL-4500] Add locked ownable synchronizers example code ( #12608 )
...
* Add locked ownable synchronizers example code
* refactor application snippet
2022-08-24 15:47:46 +02:00
Eugene Kovko
614795051e
BAEL-5682 - Atomic vs Volatile ( #12528 )
...
Co-authored-by: eugene.kovko <eugene.kovko@tensquaregames.com>
2022-08-01 20:16:24 -05:00
kpentaris
44bb031933
Add AtomicInteger.set() and .lazySet() usage example ( #12099 )
2022-05-07 08:57:31 +05:30
Seshu Kumar T
3c5aaa6b09
Producer consumer problem ( #11781 )
...
* Producer consumer problem
* Simplified producer consumer added
Co-authored-by: Seshu Thanneeru <seshukumar.thanneeru@thoughtdata.com>
2022-03-15 14:57:51 +01:00
thibaultfaure
c6bd572eda
BAEL-4524 Acquire a Lock By Key in Java ( #11872 )
2022-03-10 20:34:39 -06:00
Vartika Nigam
eb49143a48
initial commit for BAEL-5185 ( #11484 )
...
* initial commit for BAEL-5185
* fixed issues
* fixed issues
* Added Junit test case
Co-authored-by: Vartika_Nigam <Vartika_Nigam@dellteam.com>
2021-12-30 07:43:09 +05:30
Kai Yuan
b848bfead3
add Phaser implementations ( #11051 )
2021-07-20 22:17:19 -05:00
Kai Yuan
8011badd12
2 threads start at the same time ( #10972 )
...
* 2 threads start at the same time
* remove blank leading/trailing lines
2021-07-03 11:51:44 -05:00
Anshul BANSAL
431442e3ca
BAEL-4499 - Synchronization bad practice and solution example
2021-01-25 12:29:01 +02:00
Anshul BANSAL
bbdcf57afb
BAEL-4472- Binary Semaphore vs a ReentrantLock - new module added
2021-01-03 22:52:18 +02:00