{"id":9164,"date":"2022-06-24T00:40:06","date_gmt":"2022-06-23T15:40:06","guid":{"rendered":"https:\/\/happytech.jp\/wordpress\/?p=9164"},"modified":"2022-07-01T04:10:47","modified_gmt":"2022-06-30T19:10:47","slug":"azure-rtos-acquisition-5-mutex-and-semaphore","status":"publish","type":"post","link":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/","title":{"rendered":"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9"},"content":{"rendered":"<p>Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u3092\u4f7f\u3063\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u30b9\u30ec\u30c3\u30c9\u9593\u306e\u6392\u4ed6\u5236\u5fa1\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002Azure RTOS\u3067\u306f\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u304c\u3001\u540c\u3058\u6a5f\u80fd\u3067\u3042\u308b\u3053\u3068\u3082\u5224\u308a\u307e\u3059\u3002<\/p>\n<p>\u5148\u306b\u307e\u3068\u3081\u3001\u6b21\u306b\u8a73\u7d30\u306e\u9806\u3067\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_9179\" aria-describedby=\"caption-attachment-9179\" style=\"width: 693px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9179 size-full\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1.png\" alt=\"\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u52d5\u4f5c\u7d50\u679c\" width=\"693\" height=\"306\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1.png 693w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1-300x132.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1-360x159.png 360w\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><figcaption id=\"caption-attachment-9179\" class=\"wp-caption-text\">\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u52d5\u4f5c\u7d50\u679c<\/figcaption><\/figure>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Azure RTOS\u6392\u4ed6\u5236\u5fa1\u306b\u306f\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3084\u30ea\u30bd\u30fc\u30b9\u30a2\u30af\u30bb\u30b9\u65701\u306e\u30d0\u30ea\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u306b\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30ea\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u7121\u3044\u305f\u3081\u3001STM32G0C1E-EV\u306eTx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u6d41\u7528\u3057\u3001AzureRtosMutexSema\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u4f5c\u6210\u3057\u305fAzureRtosMutexSema \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3044\u3001Azure RTOS\u6392\u4ed6\u5236\u5fa1\u3092\u3001STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u306bArduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3057\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u306f\u3001\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u3068\u540c\u3058\u52d5\u4f5c\u7d50\u679c\u3092\u3082\u305f\u3089\u3059\u3053\u3068\u3092\u793a\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30ea\u30bd\u30fc\u30b9\u30a2\u30af\u30bb\u30b9\u65702\u4ee5\u4e0a\u306e\u30ab\u30a6\u30f3\u30c8\u30bb\u30de\u30d5\u30a9\u306f\u3001\u6392\u4ed6\u5236\u5fa1\u3060\u3051\u3067\u306a\u304f\u30a4\u30d9\u30f3\u30c8\u901a\u77e5\u306b\u3082\u4f7f\u3048\u307e\u3059\u304c\u3001\u512a\u5148\u5ea6\u9006\u8ee2\u306a\u3069\u6ce8\u610f\u4e8b\u9805\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u8aac\u660e\u306eAzure RTOS API\u306f\u3001\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<p>\u30fb\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\/\u30bb\u30de\u30d5\u30a9\u53d6\u5f97\uff1atx_mutex \/ semaphore_get\u3068\u3001TX_NO_WAIT<br \/>\n\u30fb\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\/\u30bb\u30de\u30d5\u30a9\u958b\u653e\uff1atx_mutex \/ semaphore_put<br \/>\n\u30fb\u30b9\u30ec\u30c3\u30c9\u51e6\u7406\u4e2d\u65ad\uff1atx_thread_sleep\u3068\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1<br \/>\n\u30fb\u30bb\u30de\u30d5\u30a9\u512a\u5148\u5ea6\u306e\u9006\u8ee2\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u512a\u5148\u5ea6\u306e\u7d99\u627f\u3068\u3001TX_INHERIT \/ TX_NO_INHERIT<\/p>\n<p>\u5358\u7d14\u306aAzure RTOS\u6392\u4ed6\u5236\u5fa1\u306f\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u5229\u7528\u304c\u826f\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<h3>STM32G4 Azure RTOS\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u63a2\u3057<\/h3>\n<p>STM32G4\uff08Cortex-M4\/170MHz\uff09\u8a55\u4fa1\u30dc\u30fc\u30c9\uff1aNUCLEO-G474RE\u3078\u306eAzure RTOS\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001\u73fe\u57283\u500b\u3001\u3053\u306e\u4e2d\u306b\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3084\u30bb\u30de\u30d5\u30a9\u3092\u4f7f\u3046\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u5bfe\u7b56\u306f\u3001\u30ad\u30e5\u30fc\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u524d\u7a3f\u3068\u540c\u3058\u3067\u3059\u3002CubeIDE\u306eInformation Center&#x2139;&#xfe0f;\u3067Import STM32CubeMX example\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001Example Selector\u30bf\u30d6\u3067ThreadX\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u6d41\u7528\u3067\u304d\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u9078\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u9078\u5b9a\u3057\u305fSTM32G0C1E-EV\u306eTx_Thread_Sunc\u30b3\u30fc\u30c9\u3092\u3001STM32G4\u3078\u6d41\u7528\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_9171\" aria-describedby=\"caption-attachment-9171\" style=\"width: 847px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-9171\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/0f4a0ac79cd0f1760676f8d5287d26ce-1024x642.png\" alt=\"STM32G4 Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u63a2\u3057\u65b9\" width=\"847\" height=\"531\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/0f4a0ac79cd0f1760676f8d5287d26ce-1024x642.png 1024w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/0f4a0ac79cd0f1760676f8d5287d26ce-300x188.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/0f4a0ac79cd0f1760676f8d5287d26ce-768x481.png 768w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/0f4a0ac79cd0f1760676f8d5287d26ce-360x226.png 360w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/0f4a0ac79cd0f1760676f8d5287d26ce.png 1259w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><figcaption id=\"caption-attachment-9171\" class=\"wp-caption-text\">STM32G4 Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u63a2\u3057\u65b9<\/figcaption><\/figure>\n<h2>Tx_Thread_Sync\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/h2>\n<p>\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3084\u30bb\u30de\u30d5\u30a9\u306f\u3001\u30b9\u30ec\u30c3\u30c9\u9593\u306e\u6392\u4ed6\u5236\u5fa1\u306b\u7528\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306f\u3001\u201cSync\u201d\uff1a\u540c\u671f\u3068\u306a\u3063\u3066\u3044\u3066\u9055\u548c\u611f\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306ereadme.html\u3092\u8aad\u3080\u3068\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30ea\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306e\u6392\u4ed6\u5236\u5fa1\u5229\u7528\u4f8b\u3067\u3042\u308b\u3053\u3068\u306f\u3001\u9593\u9055\u3044\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u306e2\u3064\u306e\u30b9\u30ec\u30c3\u30c9\u306f\u3001\u305d\u308c\u305e\u308cLED\u70b9\u706f\u306e\u72ec\u7acb\u3057\u305f\u5236\u5fa1\u3067\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u793a\u3057\u305f\u3044\u306e\u306f\u3001LED\u70b9\u706f\u306e\u76f4\u5217\u5236\u5fa1\u3001\u3053\u306e\u76f4\u5217\u5316\u306e\u305f\u3081\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3001\u307e\u305f\u306f\u3001\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u3092\u540c\u671f\u624b\u6bb5\u3068\u3057\u3066\u7528\u3044\u305f\u304b\u3089\u3068\u7b46\u8005\u306f\u3001\u89e3\u91c8\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u624b\u6bb5\u306e\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3084\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u3088\u308a\u3082\u3001\u5236\u5fa1\u7d50\u679c\u304b\u3089\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u4ed8\u3051\u305f\u306e\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u9762\u767d\u3044\u306e\u306f\u3001\u3053\u306eTx_Thread_Sync\u306f\u30011\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u3067\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u3092\u30de\u30af\u30ed\u3067\u5207\u66ff\u3048\u3001\u4e21\u8005\u304c\u540c\u3058\u7d50\u679c\u3092\u3082\u305f\u3089\u3059\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u308b\u70b9\u3067\u3059\uff08\u6700\u521d\u306eVCP\u51fa\u529b\u53c2\u7167\uff09\u3002<\/p>\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u5f0a\u793e\u306f\u3001Azure RTOS\u306e\u6392\u4ed6\u5236\u5fa1\u624b\u6bb5\u3067\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3084\u65e5\u672c\u8a9e\u30b3\u30e1\u30f3\u30c8\u3092\u4ed8\u3051\u307e\u3059\u3002<\/p>\n<h3>AzureRtosMutexSema\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/h3>\n<p>\u4e0b\u8868\u304c\u3001Tx_Thread_Sync\u306e\u51e6\u7406\u5185\u5bb9\u3067\u3059\u3002STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\uff1aNUCLEO-G474RE\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u7528\u306b\u3001\u8d64\u306e\u5de5\u592b\u3092\u52a0\u3048\u307e\u3057\u305f\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"94\"><strong>\u30b9\u30ec\u30c3\u30c9\u540d<\/strong><\/td>\n<td width=\"416\"><strong>\u51e6\u7406\u5185\u5bb9\uff1a\u30b9\u30ec\u30c3\u30c91\/2\u306eLED\u70b9\u706f\u6392\u4ed6\u5236\u5fa1<\/strong><\/p>\n<p><strong>\uff08LD2\uff1a\u8a55\u4fa1\u30dc\u30fc\u30c9\u5358\u4f53\uff0b<br \/>\n<span style=\"color: #ff0000;\">Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9<\/span>\uff09<\/strong><\/td>\n<td width=\"38\"><strong>\u512a\u5148\u5ea6<\/strong><\/td>\n<td width=\"142\"><strong>\u30d7\u30ea\u30a8\u30f3\u30d7\u30b7\u30e7\u30f3\u95be\u5024<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"94\"><strong>\u30b9\u30ec\u30c3\u30c91<\/strong><\/td>\n<td style=\"text-align: left;\" width=\"416\">1) \u6392\u4ed6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u53d6\u5f97\u78ba\u8a8d<br \/>\n2) \u6210\u529f\u6642<span style=\"color: #ff0000;\">LED1<\/span> 500ms\/5\u79d2\u30c8\u30b0\u30eb\u5f8c\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u958b\u653e<br \/>\n3) \u5931\u6557\u6642\u6392\u4ed6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u53d6\u5f97\u5f85\u3061<\/td>\n<td width=\"38\">10<\/td>\n<td width=\"142\">10<\/td>\n<\/tr>\n<tr>\n<td width=\"94\"><strong>\u30b9\u30ec\u30c3\u30c92<\/strong><\/td>\n<td style=\"text-align: left;\" width=\"416\">1) \u6392\u4ed6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u53d6\u5f97\u78ba\u8a8d<br \/>\n2) \u6210\u529f\u6642<span style=\"color: #ff0000;\">LED2<\/span> 500ms \/5\u79d2\u30c8\u30b0\u30eb\u5f8c\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u958b\u653e<br \/>\n3) \u5931\u6557\u6642\u6392\u4ed6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u53d6\u5f97\u5f85\u3061<\/td>\n<td width=\"38\">10<\/td>\n<td width=\"142\">10<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6392\u4ed6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001\u30de\u30af\u30ed\u3067TX_MUTEX\u5b9a\u7fa9\u6e08\u307f\u306a\u3089\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3001\u672a\u5b9a\u7fa9\u306a\u3089\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u5229\u7528\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>AzureRtosMutexSema\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210<\/h3>\n<p>AzureRtosMutexSema\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u65b9\u6cd5\u3082\u3001<a href=\"https:\/\/happytech.jp\/wordpress\/2022\/06\/10\/azure-rtos-acquisition-3-new-azure-rtos-project\/\" target=\"_blank\" rel=\"noopener\">AzureRtosEventFlag<\/a>\u306e\u6642\u3068\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u6c4e\u7528\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8AzureRtos0\u3092\u30b3\u30d4\u30fc\uff06\u5225\u540dAzureRtosMutexSema\u3067\u30da\u30fc\u30b9\u30c8\u3057\u3001AzureRtosMutexSema\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30da\u30fc\u30b9\u30c8\u5148\u306eAzureRtos0.ico\u306f\u3001AzureRtosMutexSema.ico\u3078Rename\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001AzureRtosMutexSema\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u3072\u306a\u578b\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>STM32G0C1E-EV \u306eTx_Thread_Sync\u30b3\u30fc\u30c9app_threadx.c\/h\u3092\u6d41\u7528\u3057\u3001AzureRtosQueue\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u3001app_threadx.c\u3068app_threadx.h \u3078\u8ffd\u8a18\u3057\u307e\u3059\u3002\u8ffd\u8a18\u30b3\u30fc\u30c9\u306e\u4e00\u90e8\u629c\u7c8b\u304c\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<h4>app_threadx.c\u8ffd\u8a18\u4f8b<\/h4>\n<figure id=\"attachment_9172\" aria-describedby=\"caption-attachment-9172\" style=\"width: 625px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9172 size-full\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/70de8600d180dad24745103725086574-1.png\" alt=\"app_threadx.c\u8ffd\u8a18\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u629c\u7c8b\" width=\"625\" height=\"2483\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/70de8600d180dad24745103725086574-1.png 625w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/70de8600d180dad24745103725086574-1-258x1024.png 258w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/70de8600d180dad24745103725086574-1-387x1536.png 387w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/70de8600d180dad24745103725086574-1-68x270.png 68w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><figcaption id=\"caption-attachment-9172\" class=\"wp-caption-text\">app_threadx.c\u8ffd\u8a18\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u629c\u7c8b<\/figcaption><\/figure>\n<h4>app_threadx.h\u8ffd\u8a18\u4f8b<\/h4>\n<figure id=\"attachment_9173\" aria-describedby=\"caption-attachment-9173\" style=\"width: 655px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9173\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/59b971da3af9972c0b8ee3bbfba96cd4-2.png\" alt=\"app_threadx.h\u8ffd\u8a18\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u629c\u7c8b\" width=\"655\" height=\"873\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/59b971da3af9972c0b8ee3bbfba96cd4-2.png 655w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/59b971da3af9972c0b8ee3bbfba96cd4-2-225x300.png 225w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/59b971da3af9972c0b8ee3bbfba96cd4-2-203x270.png 203w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><figcaption id=\"caption-attachment-9173\" class=\"wp-caption-text\">app_threadx.h\u8ffd\u8a18\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u629c\u7c8b<\/figcaption><\/figure>\n<h2>Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9<\/h2>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u5229\u7528\u3067\u3059\u306e\u3067\u3001Azure RTOS<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/rtos\/threadx\/chapter3#mutexes\" target=\"_blank\" rel=\"noopener\">\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9<\/a>\u3067\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30ec\u30c3\u30c91\/2\u306f\u3001\u512a\u5148\u5ea6\u3001\u30d7\u30ea\u30a8\u30f3\u30d7\u30b7\u30e7\u30f3\u95be\u5024\u3068\u3082\u306b\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u30b9\u30ec\u30c3\u30c91\u3092\u5148\u306b\u751f\u6210\u3057\u5373\u5b9f\u884c\uff08TX_AUTO_START\uff09\u3057\u307e\u3059\u306e\u3067\u3001\u5e38\u306b\u30b9\u30ec\u30c3\u30c91\u304c\u6392\u4ed6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff1a\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3092\u5148\u306b\u53d6\u5f97\uff08<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/rtos\/threadx\/chapter4#tx_mutex_get\" target=\"_blank\" rel=\"noopener\">tx_mutex_get<\/a>\uff09\u3057\u3001LED1\u30c8\u30b0\u30eb\u70b9\u706f\u30925\u79d2\u9593\u7d9a\u3051\u307e\u3059\u30025\u79d2\u7d4c\u904e\u5f8c\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3092\u958b\u653e(<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/rtos\/threadx\/chapter4#tx_mutex_put\" target=\"_blank\" rel=\"noopener\">tx_mutex_put<\/a>)\u3057\u30011\u30c6\u30a3\u30c3\u30af\u306e10ms\u30b9\u30ea\u30fc\u30d7\uff08<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/rtos\/threadx\/chapter4#tx_thread_sleep\" target=\"_blank\" rel=\"noopener\">tx_thread_sleep<\/a>\uff09\u3057\u307e\u3059\u3002\u3053\u306e\u51e6\u7406\u3092\u7e70\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30ec\u30c3\u30c92\u306f\u3001\u958b\u59cb\u5f8c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff1a\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u53d6\u5f97\u3092\u72d9\u3044\u307e\u3059\u304c\u3001\u30b9\u30ec\u30c3\u30c91\u53d6\u5f97\u6e08\u307f\u306e\u305f\u3081\u5f85\u3061\u7121\u3057\uff08TX_NO_WAIT\uff09\u3067\u53d6\u5f97\u72d9\u3044\u3092\u7e70\u8fd4\u3057\u307e\u3059\u3002\u30b9\u30ec\u30c3\u30c91\u306e\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u89e3\u653e\u3067\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3092\u53d6\u5f97\u3057\u3001LED2\u30c8\u30b0\u30eb\u70b9\u706f\u30925\u79d2\u9593\u7d9a\u3051\u307e\u3059\u30025\u79d2\u7d4c\u904e\u5f8c\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3092\u958b\u653e\u3057\u300110ms\u30b9\u30ea\u30fc\u30d7\u3059\u308b\u306e\u306f\u3001\u30b9\u30ec\u30c3\u30c91\u3068\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u3088\u308a\u3001\u30b9\u30ec\u30c3\u30c91\/2\u304c\u6392\u4ed6\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u89e3\u653e\u5f8c\u306e1\u30c6\u30a3\u30c3\u30af\u30b9\u30ea\u30fc\u30d7\u306f\u91cd\u8981\u3067\u3059\u3002\u3053\u306e\u30b9\u30ea\u30fc\u30d7\u304c\u3001\u30b9\u30ec\u30c3\u30c91\/2\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\u3092\u884c\u3044\u307e\u3059\u3002\u8a66\u3057\u306b\u30b9\u30ea\u30fc\u30d7\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3068\u3001\u6392\u4ed6\u5236\u5fa1\u304c\u50cd\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>app_thread.x.h L60\u306e\u30de\u30af\u30edUSE_TX_MUTEX\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3068\u3001\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\uff08<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/rtos\/threadx\/chapter4#tx_semaphore_get\" target=\"_blank\" rel=\"noopener\">tx_semaphore_ge<\/a>t\/<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/rtos\/threadx\/chapter4#tx_semaphore_put\" target=\"_blank\" rel=\"noopener\">tx_semaphore_put<\/a>\uff09\u3092\u4f7f\u3063\u3066\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u540c\u3058\u52d5\u4f5c\u7d50\u679c\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Azure RTOS\u30b5\u30a4\u30c8\u306e<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/rtos\/threadx\/chapter3#counting-semaphores\" target=\"_blank\" rel=\"noopener\">\u30ab\u30a6\u30f3\u30c8\u30bb\u30de\u30d5\u30a9<\/a>\u3092\u8aad\u3080\u3068\u3001\u30ab\u30a6\u30f3\u30c8\u30bb\u30de\u30d5\u30a9\u306f\u3001\u6392\u4ed6\u5236\u5fa1\u3060\u3051\u3067\u306a\u304f\u30a4\u30d9\u30f3\u30c8\u901a\u77e5\u306b\u3082\u4f7f\u7528\u53ef\u80fd\u3067\u3059\uff08\u524d\u7a3f\u30ad\u30e5\u30fc \u30a4\u30d9\u30f3\u30c8 \u30c1\u30a7\u30fc\u30f3\u304c\u305d\u306e\u5229\u7528\u4f8b\uff09\u3002\u307e\u305f\u3001\u30c7\u30c3\u30c8\u30ed\u30c3\u30af\u3084<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/azure\/rtos\/threadx\/chapter3#thread-priority-pitfalls\" target=\"_blank\" rel=\"noopener\">\u30b9\u30ec\u30c3\u30c9\u512a\u5148\u5ea6\u306e\u843d\u3068\u3057\u7a74<\/a>\u3001\u201c\u512a\u5148\u5ea6\u306e\u9006\u8ee2\u201d\uff08<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/rtos\/threadx\/chapter3#priority-inversion\" target=\"_blank\" rel=\"noopener\">Priority Inversion<\/a>\uff09\u306a\u3069\u306e\u5229\u7528\u6642\u6ce8\u610f\u4e8b\u9805\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6392\u4ed6\u5236\u5fa1\u3060\u3051\u306a\u3089\u3001\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u5229\u7528\u304c\u30b7\u30f3\u30d7\u30eb\u3067\u826f\u3055\u305d\u3046\u3067\u3059\u3002\u4f46\u3057\u3001\u201c\u512a\u5148\u5ea6\u306e\u9006\u8ee2\u201d\u5bfe\u7b56\u306e\u201c\u512a\u5148\u5ea6\u306e\u7d99\u627f\u201d\uff08<a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/rtos\/threadx\/chapter3#priority-inheritance\" target=\"_blank\" rel=\"noopener\">Priority Inheritance<\/a>\uff09\u30aa\u30d7\u30b7\u30e7\u30f3:TX_INHERIT\u304c\u5fc5\u8981\u3067\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001TX_NO_INHERIT\u3067\u3059\u3002<\/p>\n<p>\u203b\u512a\u5148\u5ea6\u306e\u9006\u8ee2\u3001\u512a\u5148\u5ea6\u306e\u7d99\u627f\u3092\u8a66\u3059\u306b\u306f\u3001\u30b9\u30ec\u30c3\u30c91\/2\u4ee5\u5916\u306e\u7b2c3\u306e\u30b9\u30ec\u30c3\u30c9\u304c\u5fc5\u8981\u3067\u3059\u3002\u7b2c3\u30b9\u30ec\u30c3\u30c9\u306f\u3001\u30b9\u30ec\u30c3\u30c91\/2\u306e\u4e2d\u9593\u306e\u512a\u5148\u5ea6\u3068\u30011\/2\u6392\u4ed6\u5236\u5fa1\u3068\u306f\u7121\u95a2\u4fc2\u306a\u3053\u3068\u3082\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u9006\u8ee2\u3001\u7d99\u627f\u3082RTOS\u3089\u3057\u3044\u6a5f\u80fd\u3067\u3059\u304c\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u5b9f\u88c5\u306f\u7121\u304f\u3001\u5404\u81ea\u3067\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\/\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6392\u4ed6\u5236\u5fa1\u306e\u7d50\u679c\u3001Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u306eLED1\u3068LED2\u304c\u3001\u4ea4\u4e92\u306b\u70b9\u6ec5\u3092\u7e70\u8fd4\u3059\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30aa\u30ea\u30b8\u30ca\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\uff1a\u201cSync\u201d\u304c\u793a\u3059\u3088\u3046\u306bLED1\/2\u306f\u540c\u671f\u3057\u3066\u4ea4\u4e92\u70b9\u6ec5\u3057\u3066\u3044\u308b\u3001\u3068\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>RTOS\u6587\u7ae0\u76f4\u5217\u8a18\u8ff0\u2192\u4e26\u5217\u52d5\u4f5c\u30de\u30c3\u30d4\u30f3\u30b0<\/h3>\n<p>\u672c\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001\u308f\u305a\u304b2\u500b\u30b9\u30ec\u30c3\u30c9\u3067\u3059\u3002\u305d\u308c\u3067\u3082\u3001RTOS\u51e6\u7406\u3092\u6587\u7ae0\u3067\u8a18\u8ff0\u3059\u308b\u96e3\u3057\u3055\u3092\u611f\u3058\u307e\u3059\u3002\u6587\u7ae0\u306f\u3001\u52d5\u4f5c\u3092\u300c\u76f4\u5217\u300d\u3067\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u5f97\u610f\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>RTOS\u51e6\u7406\u306f\u3001\u8907\u6570\u306e\u30b9\u30ec\u30c3\u30c9\u304c\u300c\u4e26\u5217\u300d\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002\u52ff\u8ad6\u3001\u30b7\u30f3\u30b0\u30eb\u30b3\u30a2\u3067\u6642\u5206\u5272\u52d5\u4f5c\u306a\u306e\u3067\u3001\u5b9f\u969b\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u306e\u306f\u3001RTOS\u3092\u542b\u30811\u500b\u3067\u3059\u3002\u3067\u3059\u304c\u3001\u3053\u308c\u3092\u5224\u308a\u6613\u304f\u6587\u7ae0\u5316\u3059\u308b\u306e\u306f\u3001\u7d50\u69cb\u96e3\u3057\u3044\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u672c\u7a3f\u30b9\u30ec\u30c3\u30c91\/2\u306etx_thread_sleep\u3067\u3059\u3002\u958b\u767a\u8005\u540c\u58eb\u306a\u3089\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u898b\u305b\u308c\u3070\u3001\u305d\u308c\u3067\u4e8b\u8db3\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u305d\u3082\u305d\u3082RTOS\u7406\u89e3\u30ec\u30d9\u30eb\u304c\u4e0d\u660e\u306e\u9867\u5ba2\u3078\u3001\u30b9\u30ea\u30fc\u30d7\u306e\u76ee\u7684\u3084\u610f\u5473\u3092\u8aac\u660e\u3057\u3066\u3082\u3001\u5224\u3063\u3066\u3082\u3089\u3048\u308b\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>RTOS\u958b\u767a\u306f\u3001\u958b\u767a\u30a2\u30d7\u30ea\u306e\u9867\u5ba2\u5411\u3051\u8cc7\u6599\u4f5c\u6210\u3067\u3082\u82e6\u52b4\u3057\u305d\u3046\u3067\u3059&#x1f62d;\u3002<\/p>\n<p>RTOS\u7fd2\u5f97\u306b\u306f\u3001\u516c\u5f0f\u30b5\u30a4\u30c8\u6587\u7ae0\u8a18\u8ff0\u306e\u5404\u7a2eRTOS\u6a5f\u80fd\u3092\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3078\u5909\u63db\u5f8c\u3001\u3055\u3089\u306b\u3001\u500b\u3005\u306e\u958b\u767a\u8005\u304c\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u8a55\u4fa1\u30dc\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u300c\u7d0d\u5f97\u3059\u308b\u307e\u3067\u8272\u3005\u5909\u3048\u3066\u307f\u308b\u3053\u3068\u300d\u304c\u5fc5\u8981\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a66\u884c\u3067\u3001\u76f4\u5217\u8a18\u8ff0\u306e\u6587\u7ae0\u3067\u8868\u73fe\u3055\u308c\u305fRTOS\u52d5\u4f5c\u304c\u3001\u958b\u767a\u8005\u306e\u4e2d\u3067RTOS\u4e26\u5217\u52d5\u4f5c\u3078\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002RTOS\u7fd2\u5f97\u30fb\u958b\u767a\u306b\u306f\u3001\u4e26\u5217\u52d5\u4f5c\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u904e\u7a0b\u304c\u6700\u91cd\u8981\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,127,29,487],"tags":[668,747,748,749,750],"class_list":["post-9164","post","type-post","status-publish","format-standard","hentry","category-mcu","category-stm32-mcu","category-cortex-m0puls-core","category-cortex-m4-core","tag-azure-rtos","tag-747","tag-748","tag-749","tag-750"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9 - IoT MCU\u306eHappyTech<\/title>\n<meta name=\"description\" content=\"Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9 - IoT MCU\u306eHappyTech\" \/>\n<meta property=\"og:description\" content=\"Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/\" \/>\n<meta property=\"og:site_name\" content=\"IoT MCU\u306eHappyTech\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-23T15:40:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-30T19:10:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1.png\" \/>\n<meta name=\"author\" content=\"WithHappy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9\" \/>\n<meta name=\"twitter:description\" content=\"Azure RTOS\u30df\u30e5\u30fc\u30c6\u30a3\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30a3\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30a3\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002\" \/>\n<meta name=\"twitter:creator\" content=\"@HappyTechDigest\" \/>\n<meta name=\"twitter:site\" content=\"@HappyTechDigest\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"WithHappy\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"13\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/\"},\"author\":{\"name\":\"WithHappy\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\"},\"headline\":\"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9\",\"datePublished\":\"2022-06-23T15:40:06+00:00\",\"dateModified\":\"2022-06-30T19:10:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/\"},\"wordCount\":260,\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/9effb75fa20bd7985105d8be7360126a-1.png\",\"keywords\":[\"Azure RTOS\",\"\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\",\"\u512a\u5148\u5ea6\u306e\u9006\u8ee2\",\"\u512a\u5148\u5ea6\u306e\u7d99\u627f\",\"\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\"],\"articleSection\":[\"MCU\uff1a\u30de\u30a4\u30b3\u30f3\",\"STM32\u30de\u30a4\u30b3\u30f3\",\"Cortex-M0+\u30b3\u30a2\",\"Cortex-M4\u30b3\u30a2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/\",\"name\":\"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9 - IoT MCU\u306eHappyTech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/9effb75fa20bd7985105d8be7360126a-1.png\",\"datePublished\":\"2022-06-23T15:40:06+00:00\",\"dateModified\":\"2022-06-30T19:10:47+00:00\",\"description\":\"Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/#primaryimage\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/9effb75fa20bd7985105d8be7360126a-1.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/9effb75fa20bd7985105d8be7360126a-1.png\",\"width\":693,\"height\":306,\"caption\":\"\u30df\u30e5\u30fc\u30c6\u30a3\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058VCP\u51fa\u529b\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2022\\\/06\\\/24\\\/azure-rtos-acquisition-5-mutex-and-semaphore\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\",\"name\":\"IoT MCU\u306eHappyTech\",\"description\":\"IoT MCU\u958b\u767a\u304a\u5f79\u7acb\u3061\u60c5\u5831\u6e80\u8f09\",\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\",\"name\":\"HappyTech\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/cropped-HappyTechBlog.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/cropped-HappyTechBlog.png\",\"width\":1420,\"height\":349,\"caption\":\"HappyTech\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/HappyTechDigest\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\",\"name\":\"WithHappy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"caption\":\"WithHappy\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9 - IoT MCU\u306eHappyTech","description":"Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/","og_locale":"ja_JP","og_type":"article","og_title":"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9 - IoT MCU\u306eHappyTech","og_description":"Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002","og_url":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/","og_site_name":"IoT MCU\u306eHappyTech","article_published_time":"2022-06-23T15:40:06+00:00","article_modified_time":"2022-06-30T19:10:47+00:00","og_image":[{"url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1.png","type":"","width":"","height":""}],"author":"WithHappy","twitter_card":"summary_large_image","twitter_title":"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9","twitter_description":"Azure RTOS\u30df\u30e5\u30fc\u30c6\u30a3\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30a3\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30a3\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002","twitter_creator":"@HappyTechDigest","twitter_site":"@HappyTechDigest","twitter_misc":{"\u57f7\u7b46\u8005":"WithHappy","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"13\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/#article","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/"},"author":{"name":"WithHappy","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501"},"headline":"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9","datePublished":"2022-06-23T15:40:06+00:00","dateModified":"2022-06-30T19:10:47+00:00","mainEntityOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/"},"wordCount":260,"publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/#primaryimage"},"thumbnailUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1.png","keywords":["Azure RTOS","\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9","\u512a\u5148\u5ea6\u306e\u9006\u8ee2","\u512a\u5148\u5ea6\u306e\u7d99\u627f","\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9"],"articleSection":["MCU\uff1a\u30de\u30a4\u30b3\u30f3","STM32\u30de\u30a4\u30b3\u30f3","Cortex-M0+\u30b3\u30a2","Cortex-M4\u30b3\u30a2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/","url":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/","name":"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9 - IoT MCU\u306eHappyTech","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/#primaryimage"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/#primaryimage"},"thumbnailUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1.png","datePublished":"2022-06-23T15:40:06+00:00","dateModified":"2022-06-30T19:10:47+00:00","description":"Azure RTOS\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u6a5f\u80fd\u3092STM32G0C1E-EV Tx_Thread_Sync\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d41\u7528\u3057STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\u3068Arduino\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b7\u30fc\u30eb\u30c9\u3067\u8aac\u660e\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058\u3002\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u304c\u6392\u4ed6\u5236\u5fa1\u306b\u9069\u3059\u3002","breadcrumb":{"@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/#primaryimage","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2022\/06\/9effb75fa20bd7985105d8be7360126a-1.png","width":693,"height":306,"caption":"\u30df\u30e5\u30fc\u30c6\u30a3\u30c3\u30af\u30b9\u3068\u30d0\u30a4\u30ca\u30ea\u30bb\u30de\u30d5\u30a9\u306f\u540c\u3058VCP\u51fa\u529b"},{"@type":"BreadcrumbList","@id":"https:\/\/happytech.jp\/wordpress\/2022\/06\/24\/azure-rtos-acquisition-5-mutex-and-semaphore\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/happytech.jp\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Azure RTOS\u7fd2\u5f97(5)\uff1aMutex\u3068\u30bb\u30de\u30d5\u30a9"}]},{"@type":"WebSite","@id":"https:\/\/happytech.jp\/wordpress\/#website","url":"https:\/\/happytech.jp\/wordpress\/","name":"IoT MCU\u306eHappyTech","description":"IoT MCU\u958b\u767a\u304a\u5f79\u7acb\u3061\u60c5\u5831\u6e80\u8f09","publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/happytech.jp\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/happytech.jp\/wordpress\/#organization","name":"HappyTech","url":"https:\/\/happytech.jp\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2013\/09\/cropped-HappyTechBlog.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2013\/09\/cropped-HappyTechBlog.png","width":1420,"height":349,"caption":"HappyTech"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/HappyTechDigest"]},{"@type":"Person","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501","name":"WithHappy","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","caption":"WithHappy"}}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/9164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=9164"}],"version-history":[{"count":2,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/9164\/revisions"}],"predecessor-version":[{"id":9200,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/9164\/revisions\/9200"}],"wp:attachment":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=9164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=9164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=9164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}