{"id":1053,"date":"2010-05-13T12:25:09","date_gmt":"2010-05-13T11:25:09","guid":{"rendered":"http:\/\/soci.hu\/blog\/?p=1053"},"modified":"2010-05-13T12:25:09","modified_gmt":"2010-05-13T11:25:09","slug":"parallel-stacks-a-vs-2010-ben","status":"publish","type":"post","link":"https:\/\/soci.hu\/blog\/index.php\/2010\/05\/13\/parallel-stacks-a-vs-2010-ben\/","title":{"rendered":"Parallel Stacks a VS 2010-ben"},"content":{"rendered":"<p>J\u00f3 ez a VS 2010. Belefutottam egy probl\u00e9m\u00e1ba, amiben a Parallel stack seg\u00edts\u00e9ge j\u00f3l j\u00f6tt.<br \/>\n<a href=\"http:\/\/soci.hu\/blog\/wp-content\/uploads\/2010\/05\/parallelstacks.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/soci.hu\/blog\/wp-content\/uploads\/2010\/05\/parallelstacks-300x183.png\" alt=\"\" title=\"Parallel stacks ablak a Visual Studio 2010-ben\" width=\"300\" height=\"183\" class=\"alignnone size-medium wp-image-1054\" srcset=\"https:\/\/soci.hu\/blog\/wp-content\/uploads\/2010\/05\/parallelstacks-300x183.png 300w, https:\/\/soci.hu\/blog\/wp-content\/uploads\/2010\/05\/parallelstacks-600x368.png 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Amint a k\u00e9pen l\u00e1that\u00f3 az egyik sz\u00e1l bej\u00e1r egy Dictionary-t serializ\u00e1l\u00e1s miatt, mik\u00f6zben a m\u00e1sik beleeny\u00fal, ett\u0151l azt\u00e1n elszakad a c\u00e9rna az iter\u00e1torn\u00e1l. L\u00e1that\u00f3 a k\u00e9pen, hogy k\u00e9t SaveSettings egyszerre fut, de csak az egyik seraliz\u00e1l, a m\u00e1sik, a jobbr\u00f3l l\u00e1that\u00f3 v\u00e1r, mert raktam be lockot.<br \/>\nIgen, \u00e1m, de rossz helyre! A kollekci\u00f3t engedem m\u00f3dos\u00edtani (this[string].set), mert az a lockol\u00e1son k\u00edv\u00fcl esik. Azaz a probl\u00e9ma a rosszul megv\u00e1lasztott z\u00e1rol\u00e1si szint (lock scope). Egy met\u00f3dush\u00edv\u00e1ssal kijjebb kell rakni, az indexerbe.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>J\u00f3 ez a VS 2010. Belefutottam egy probl\u00e9m\u00e1ba, amiben a Parallel stack seg\u00edts\u00e9ge j\u00f3l j\u00f6tt. Amint a k\u00e9pen l\u00e1that\u00f3 az egyik sz\u00e1l&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,75,4],"tags":[],"class_list":["post-1053","post","type-post","status-publish","format-standard","hentry","category-net","category-net-4","category-szakmai-elet"],"_links":{"self":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1053"}],"version-history":[{"count":1,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1053\/revisions"}],"predecessor-version":[{"id":1055,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1053\/revisions\/1055"}],"wp:attachment":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}