Commit Graph

26 Commits

Author SHA1 Message Date
Eugene Kovko
e692343a81 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
Dhawal Kapil
bb5bfa992a JAVA-19536 Fix formatting of pom.xmls 2023-04-05 07:14:09 +05:30
timis1
41dd1457b4 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
edizor
8872a7f5b2 Update README.md 2022-10-26 22:24:42 +08:00
kpentaris
187050311e Add application file for BAEL-4038 (#12851) 2022-10-19 17:23:17 +02:00
Asjad J
1f7cd7239b Updated README.md
added link back to the article: https://www.baeldung.com/locked-ownable-synchronizers
2022-08-25 21:31:46 +05:00
kpentaris
ad902ab092 [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
Asjad J
c6706b3477 Updated README.md
added link back to the article: https://www.baeldung.com/java-volatile-vs-atomic
2022-08-10 09:14:15 +05:00
Eugene Kovko
9403406f4c BAEL-5682 - Atomic vs Volatile (#12528)
Co-authored-by: eugene.kovko <eugene.kovko@tensquaregames.com>
2022-08-01 20:16:24 -05:00
Asjad J
64244ed62a Updated README.md
added link back to the article: https://www.baeldung.com/java-atomic-set-vs-lazyset
2022-05-10 06:40:56 +05:00
kpentaris
2252d418c9 Add AtomicInteger.set() and .lazySet() usage example (#12099) 2022-05-07 08:57:31 +05:30
johnA1331
8da40647af Update README.md 2022-03-16 21:25:15 +08:00
Seshu Kumar T
9e7648d988 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
82778c5d55 BAEL-4524 Acquire a Lock By Key in Java (#11872) 2022-03-10 20:34:39 -06:00
Asjad J
61b72e0de2 Updated README.md
Added link back to the article: https://www.baeldung.com/java-producer-consumer-problem
2022-03-01 09:13:20 +05:00
johnA1331
684ba28cc1 Update README.md 2022-01-05 20:22:48 +08:00
Vartika Nigam
b29963fd35 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
freelansam
160b977f61 JAVA-7433: Fix references to parents (#11275) 2021-10-05 01:08:39 +05:30
Kai Yuan
1a07f9d2bf add Phaser implementations (#11051) 2021-07-20 22:17:19 -05:00
johnA1331
c9da8f97d3 Update README.md 2021-07-07 23:27:01 +08:00
Kai Yuan
4f7ada972a 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
sampadawagde
1ca10a7a99 JAVA-5223: Fix formatting of POMs (Part 3) 2021-05-06 19:53:35 +05:30
johnA1331
a2e544aa69 Update README.md 2021-02-04 00:09:00 +08:00
Anshul BANSAL
5a706ec297 BAEL-4499 - Synchronization bad practice and solution example 2021-01-25 12:29:01 +02:00
johnA1331
f7ac6a0eb9 Create README.md 2021-01-14 00:15:43 +08:00
Anshul BANSAL
5fa9e79e6b BAEL-4472- Binary Semaphore vs a ReentrantLock - new module added 2021-01-03 22:52:18 +02:00