Commit Graph

30 Commits

Author SHA1 Message Date
Bipin kumar d8aa0eeaef
JAVA-32170_C_05: Changes made for Fix formatting of POMs - C_05(#16106) 2024-03-15 23:46:57 +02:00
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
Dhawal Kapil 7026b0abc9 JAVA-19536 Fix formatting of pom.xmls 2023-04-05 07:14:09 +05:30
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
edizor 01a44a7dbf Update README.md 2022-10-26 22:24:42 +08:00
kpentaris 5bc5a0f717 Add application file for BAEL-4038 (#12851) 2022-10-19 17:23:17 +02:00
Asjad J 6a2c013bf1 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 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
Asjad J 835a3457ba 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 614795051e 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 4a8826ae78 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 44bb031933 Add AtomicInteger.set() and .lazySet() usage example (#12099) 2022-05-07 08:57:31 +05:30
johnA1331 d7baaf8ced Update README.md 2022-03-16 21:25:15 +08:00
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
Asjad J ca1feef04f 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 9cc3165ab4 Update README.md 2022-01-05 20:22:48 +08: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
freelansam a5bcd85b16 JAVA-7433: Fix references to parents (#11275) 2021-10-05 01:08:39 +05:30
Kai Yuan b848bfead3 add Phaser implementations (#11051) 2021-07-20 22:17:19 -05:00
johnA1331 1cd9efa35c Update README.md 2021-07-07 23:27:01 +08: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
sampadawagde f3e71d70ad JAVA-5223: Fix formatting of POMs (Part 3) 2021-05-06 19:53:35 +05:30
johnA1331 1bc84889aa Update README.md 2021-02-04 00:09:00 +08:00
Anshul BANSAL 431442e3ca BAEL-4499 - Synchronization bad practice and solution example 2021-01-25 12:29:01 +02:00
johnA1331 5d14cdd746 Create README.md 2021-01-14 00:15:43 +08:00
Anshul BANSAL bbdcf57afb BAEL-4472- Binary Semaphore vs a ReentrantLock - new module added 2021-01-03 22:52:18 +02:00