{"id":480,"date":"2016-06-05T11:42:17","date_gmt":"2016-06-05T11:42:17","guid":{"rendered":"http:\/\/blog.lizefield.mobi\/?p=480"},"modified":"2016-06-05T11:42:17","modified_gmt":"2016-06-05T11:42:17","slug":"c%e3%80%8ccontextswitchdeadlock-%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%82%e3%80%8d%e3%81%ae%e5%af%be%e5%87%a6%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/2016\/06\/05\/c%e3%80%8ccontextswitchdeadlock-%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%82%e3%80%8d%e3%81%ae%e5%af%be%e5%87%a6%e6%96%b9%e6%b3%95\/","title":{"rendered":"(C#)\u300cContextSwitchDeadlock \u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u300d\u306e\u5bfe\u51e6\u65b9\u6cd5"},"content":{"rendered":"<p>\u30c7\u30d0\u30c3\u30b0\u5b9f\u884c\u6642\u306b\u300cContextSwitchDeadlock \u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u300d\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u3078\u306e\u5bfe\u51e6\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p><!--more--><b>\u4e8b\u8c61<\/b><\/p>\n<p>\u30c7\u30d0\u30c3\u30b0\u5b9f\u884c\u4e2d\u306b\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nContextSwitchDeadlock \u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\nMessage: \u30de\u30cd\u30fc\u30b8 \u30c7\u30d0\u30c3\u30b0 \u30a2\u30b7\u30b9\u30bf\u30f3\u30c8 'ContextSwitchDeadlock' \u304c 'C:\\***\\***.vshost.exe' \u3067\u554f\u984c\u3092\u691c\u51fa\u3057\u307e\u3057\u305f\u3002\n\u8ffd\u52a0\u60c5\u5831:CLR \u306f\u3001COM \u30b3\u30f3\u30c6\u30ad\u30b9\u30c8 0xa27030 \u304b\u3089 COM \u30b3\u30f3\u30c6\u30ad\u30b9\u30c8 0xa271a0 \u3078 60 \u79d2\u3067\u79fb\u884c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30bf\u30fc\u30b2\u30c3\u30c8 \u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304a\u3088\u3073\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u6240\u6709\u3059\u308b\u30b9\u30ec\u30c3\u30c9\u304c\u3001\u30dd\u30f3\u30d7\u3057\u306a\u3044\u5f85\u6a5f\u3092\u884c\u3063\u3066\u3044\u308b\u304b\u3001Windows \u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u306a\u3044\u3067\u975e\u5e38\u306b\u9577\u3044\u5b9f\u884c\u64cd\u4f5c\u3092\u51e6\u7406\u3057\u3066\u3044\u308b\u304b\u306e\u3069\u3061\u3089\u304b\u3067\u3059\u3002\u3053\u306e\u72b6\u614b\u306f\u901a\u5e38\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u4f4e\u4e0b\u3055\u305b\u305f\u308a\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u5fdc\u7b54\u3057\u3066\u3044\u306a\u3044\u72b6\u614b\u304a\u3088\u3073\u5897\u3048\u7d9a\u3051\u308b\u30e1\u30e2\u30ea\u4f7f\u7528\u3092\u5c0e\u304f\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u554f\u984c\u3092\u56de\u907f\u3059\u308b\u306b\u306f\u3001\u3059\u3079\u3066\u306e Single Thread Apartment (STA) \u306e\u30b9\u30ec\u30c3\u30c9\u304c\u3001CoWaitForMultipleHandles \u306e\u3088\u3046\u306a\u30dd\u30f3\u30d7\u3059\u308b\u5f85\u6a5f\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001\u9577\u3044\u5b9f\u884c\u64cd\u4f5c\u4e2d\u306b\u5b9a\u671f\u7684\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30dd\u30f3\u30d7\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n<\/pre>\n<p><b>\u5bfe\u51e6\u65b9\u6cd5<\/b><\/p>\n<p>\u30a8\u30e9\u30fc\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u300c\u4f8b\u5916\u8a2d\u5b9a\u3092\u958b\u304f\u300d\u3092\u62bc\u4e0b\u3057\u307e\u3059\u3002<br \/>\n<a href=\"\/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock01.png\"><img loading=\"lazy\" class=\"alignnone wp-image-481\" src=\"\/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock01.png\" alt=\"ContextSwitchDeadlock01\" width=\"300\" height=\"247\" srcset=\"\/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock01.png 443w, \/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock01-300x247.png 300w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u4f8b\u5916\u8a2d\u5b9a\u306e\u4e2d\u306e[Managed Debugging Assistants]\uff0d[ContextSwitchDeadlock]\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3057\u307e\u3059\u3002<br \/>\n<a href=\"\/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock02.png\"><img loading=\"lazy\" class=\"alignnone wp-image-482\" src=\"\/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock02.png\" alt=\"ContextSwitchDeadlock02\" width=\"300\" height=\"90\" srcset=\"\/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock02.png 1030w, \/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock02-300x90.png 300w, \/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock02-768x230.png 768w, \/wp-content\/uploads\/2016\/06\/ContextSwitchDeadlock02-1024x307.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3053\u308c\u3067\u30a8\u30e9\u30fc\u306f\u767a\u751f\u3057\u306a\u304f\u306a\u308a\u307e\u3059\u304c\u3001\u3088\u308d\u3057\u304f\u306a\u3044\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u306a\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u306e\u3067\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3082\u898b\u76f4\u3059\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30d0\u30c3\u30b0\u5b9f\u884c\u6642\u306b\u300cContextSwitchDeadlock \u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u300d\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u3078\u306e\u5bfe\u51e6\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[27,31],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts\/480"}],"collection":[{"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/comments?post=480"}],"version-history":[{"count":0,"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts\/480\/revisions"}],"wp:attachment":[{"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/media?parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/categories?post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lizefieldwp.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/tags?post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}