{"id":76085,"date":"2024-05-19T19:42:44","date_gmt":"2024-05-19T23:42:44","guid":{"rendered":"http:\/\/bangla.sitestree.com\/c-thread-safe-concurrent-collections\/"},"modified":"2025-05-11T20:17:27","modified_gmt":"2025-05-11T20:17:27","slug":"c-thread-safe-concurrent-collections","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=76085","title":{"rendered":"C# Thread-Safe Concurrent Collections"},"content":{"rendered":"<p>C# Concurrent classes are provided through System.Collections.Concurrent<\/p>\n<p>Concurrent classes: for thread-safe operations i. e. Now multiple threads can access the Collections without creating problems<\/p>\n<p><strong>Concurrent classes:<\/strong><\/p>\n<p>BlockingCollection<br \/>\nConcurrentBag<br \/>\nConcurrentStack<br \/>\nConcurrentQueue<br \/>\nConcurrentDictionary<br \/>\nPartitioner<br \/>\nPartitioner<br \/>\nOrderablePartitioner<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C# Concurrent classes are provided through System.Collections.Concurrent Concurrent classes: for thread-safe operations i. e. Now multiple threads can access the Collections without creating problems Concurrent classes: BlockingCollection ConcurrentBag ConcurrentStack ConcurrentQueue ConcurrentDictionary Partitioner Partitioner OrderablePartitioner<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1973,182],"tags":[],"class_list":["post-76085","post","type-post","status-publish","format-standard","hentry","category-c-misc","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":66324,"url":"http:\/\/bangla.sitestree.com\/?p=66324","url_meta":{"origin":76085,"position":0},"title":"EJB Overview: EJB in a nutshell #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 18, 2021","format":false,"excerpt":"Objects provide encapsulation\/re-usability at the class level. A component can be comprised of multiple objects Component = logical groups of classes = distributed objects = business objects A component can be developed to address a specific enterprise applications. Hence, components can provide significant encapsulation\/re-usability in the partitioned enterprise problems. Component\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69410,"url":"http:\/\/bangla.sitestree.com\/?p=69410","url_meta":{"origin":76085,"position":1},"title":"Firebird as an Alternative to Oracle\/MS SQL Server\/Interbase\/Access #2","author":"Author-Check- Article-or-Video","date":"August 20, 2021","format":false,"excerpt":"Note:Firebird can be a very good alternatives to Oracle\/MSSql Server\/Interbase. First of all, it is free. It can be good enough for upto medium level of enterprises. Supported database size is more than 11 terabytes. For a single table 20GB. It also implements ACID properties well enough. Implements two phase\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":68481,"url":"http:\/\/bangla.sitestree.com\/?p=68481","url_meta":{"origin":76085,"position":2},"title":"How to Convert Microsoft Access Database to MySQL Database #90","author":"Author-Check- Article-or-Video","date":"August 4, 2021","format":false,"excerpt":"Approaches: Access exports its own tables: write access table data in a text file then use load data command from mysql to load those data in a table. Example: select access table->right click->export. From MySQL: run the queryLOAD DATA LOCAL INFILE 'c:student.txt' INTO TABLE student FIELDS TERMINATED BY ',' LINES\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69422,"url":"http:\/\/bangla.sitestree.com\/?p=69422","url_meta":{"origin":76085,"position":3},"title":"Speed: Firebird vs. PostGreSql #2","author":"Author-Check- Article-or-Video","date":"August 20, 2021","format":false,"excerpt":"Please read.According to this article postgresql faster than firebird. But I also got information\/tests where firebird is faster than postgresql. http:\/\/archives.postgresql.org\/pgsql-advocacy\/2003-06\/msg00280.php However, Speed may not be the only factor to select a database product. We can improve raw speed in many alternate ways, hardware solutions, ram, faster storage, faster CPU.\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70189,"url":"http:\/\/bangla.sitestree.com\/?p=70189","url_meta":{"origin":76085,"position":4},"title":"Sensor Network Operating Systems #111","author":"Author-Check- Article-or-Video","date":"August 29, 2021","format":false,"excerpt":"<b>Sensor Network Operating Systems<\/b> <ul> <li> TinyOS <\/li><li> SOS <\/li><li> MagnetOS <\/li><\/ul> <b>TinyOS<\/b> Mica2 sensors run the TinyOS [Levis:04] operating system. TinyOS is an open-source operating system especially designed for wireless sensor networks. It is a component-based operating system, hence programmers can integrate only the needed components to keep the\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70195,"url":"http:\/\/bangla.sitestree.com\/?p=70195","url_meta":{"origin":76085,"position":5},"title":"Sensor Network Operating Systems #111","author":"Author-Check- Article-or-Video","date":"August 29, 2021","format":false,"excerpt":"Sensor Network Operating Systems <ul> <li> TinyOS <\/li><li> SOS <\/li><li> MagnetOS <\/li><\/ul> <h2>TinyOS<\/h2> <p> Mica2 sensors run the TinyOS [Levis:04] operating system. TinyOS is an open-source operating system especially designed for wireless sensor networks. It is a component-based operating system, hence programmers can integrate only the needed components to keep\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76085"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76085\/revisions"}],"predecessor-version":[{"id":78111,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76085\/revisions\/78111"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76085"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}