{"id":156054,"date":"2020-09-12T22:40:55","date_gmt":"2020-09-12T14:40:55","guid":{"rendered":"http:\/\/4563.org\/?p=156054"},"modified":"2020-09-12T22:40:55","modified_gmt":"2020-09-12T14:40:55","slug":"%e5%85%b3%e4%ba%8e-sync-mutex-%e7%9a%84%e7%ab%9e%e4%ba%89%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=156054","title":{"rendered":"\u5173\u4e8e Sync.Mutex \u7684\u7ade\u4e89\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5173\u4e8e Sync.Mutex \u7684\u7ade\u4e89\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Chaox <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<pre><code>var mu sync.Mutex  func produce(ch chan&lt;- int){  for i:=0;i&lt;10;i++{   mu.Lock()   ch&lt;-i   fmt.Println(\"produce:\"+strconv.Itoa(i))   mu.Unlock()  } }  func consumer(ch &lt;- chan int){  for i:=0;i&lt;10;i++{   mu.Lock()   v:=&lt;-ch   fmt.Println(\"consumer:\"+strconv.Itoa(v))   mu.Unlock()  } } func main(){  ch:=make(chan int,5)   go produce(ch)  go consumer(ch)  time.Sleep(10*time.Second) } <\/code><\/pre>\n<p>\u6211\u662f go \u7684\u521d\u5b66\u8005\uff0c\u6211\u4eca\u5929\u5199\u4e86\u4e00\u4e2a\u95ee\u9898\u4ee3\u7801\u3002\u672c\u610f\u662f\u8ba9\u8d44\u6e90\u751f\u6210\u548c\u6d88\u8d39\u7684\u65f6\u5019\u540c\u65f6\u6253\u5370\u51fa\u8be5\u8d44\u6e90\u4fe1\u606f\u3002 \u6211\u77e5\u9053\u5f53 consumer \u5148\u6267\u884c\u65f6\u4f1a\u5bfc\u81f4\u6b7b\u9501\uff0c\u4f46\u662f\u6211\u4e0d\u660e\u767d\u7684\u662f\u4e3a\u4ec0\u4e48 produce \u5148\u6267\u884c\u65f6\uff0c\u5373\u4f7f\u4ed6\u91ca\u653e\u4e86\u9501\uff0cconsumer \u4e5f\u7ade\u4e89\u4e0d\u5230\u9501\uff0cproduce \u4f1a\u4e00\u76f4\u5360\u6709\u9501\uff0c\u8fd9\u91cc\u9762\u7684\u7ade\u4e89\u89c4\u5219\u662f\u4ec0\u4e48\u6837\u7684?\u6211\u5728\u7f51\u4e0a\u6ca1\u6709\u627e\u5230\u6ee1\u610f\u7684\u7b54\u6848<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>15<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3313333\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : silenzio <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u53ef\u4ee5\u7b80\u5355\u7406\u89e3\u4e3a\u6ca1\u6709\u89c4\u5219 \u5b8c\u5168\u968f\u673a<br \/>\u5b9e\u9645\u4e0a \u5982\u679c\u4f60\u8981\u5b9e\u73b0\u7684\u662f\u6253\u5370\u529f\u80fd \u5b8c\u5168\u4e0d\u9700\u8981\u9501 <br \/>\u8fd9\u4e24\u4e2a go \u7a0b\u6ca1\u6709\u4fee\u6539\u5171\u4eab\u53d8\u91cf \u4e3a\u4ec0\u4e48\u8981\u52a0\u9501\u5462? chan \u5c31\u53ef\u4ee5\u5b8c\u6210\u963b\u585e\u52a8\u4f5c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313334\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Chaox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @silenzio \u8c22\u8c22\u89e3\u7b54\u3002\u6211\u5199\u9501\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u83b7\u5f97\u548c\u6d88\u8017\u8d44\u6e90\u7684\u540c\u65f6\uff0c\u80fd\u591f\u540c\u65f6\u6253\u5370\u8be5\u8d44\u6e90\u3002\u6211\u6700\u5f00\u59cb\u5199\u7684\u662f\u4e0d\u52a0\u9501\u7684\uff0c\u4f46\u662f\u6211\u53d1\u73b0\u6709\u65f6\u5019\u4ed6\u751f\u6210\u8d44\u6e90\u540e\uff0c\u8fd8\u6ca1\u6765\u5f97\u53ca\u6253\u5370\uff0c\u6d88\u8d39\u8005\u5df2\u7ecf\u6d88\u8d39\u5e76\u6253\u5370\u4e86\u3002\u6253\u5370\u7ed3\u679c\u770b\u8d77\u6765\u4e0d\u662f\u5f88\u5408\u903b\u8f91\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313335\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhs227 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u5df2\u7ecf\u662f\u8d70 chan \u4e86\uff0c\u5c31\u4e0d\u7528\u9501\u4e86\u3002\u53e6\u5916\uff0c\u6253\u5370\u7684\u987a\u5e8f\u548c\u591a\u7ebf\u7a0b\u4e2d\u5b9e\u9645\u6267\u884c\u7684\u65f6\u95f4\u5e76\u4e0d\u4e00\u5b9a\u5f3a\u76f8\u5173<br \/>\u4f60\u8fd9\u6837\u5199\uff0c\u6211\u8111\u8865\u8fd0\u884c\u4e86\u4e00\u4e0b\uff0c\u5bb9\u6613\u5bfc\u81f4\u4e00\u8fb9\u83b7\u53d6\u4e86\u9501\u4ee5\u540e\uff0cchan \u53c8\u88ab\u53e6\u4e00\u65b9\u963b\u585e\uff0c\u7a0b\u5e8f\u5b8c\u5168\u6267\u884c\u4e0d\u4e0b\u53bb\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313336\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BingoXuan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1. Print \u5e76\u4e0d\u4fdd\u8bc1\u7ebf\u7a0b\u5b89\u5168\uff0c\u6d88\u8d39\u8005\u751f\u4ea7\u8005\u540c\u65f6\u6253\u5370\u7684\u7ed3\u679c\u53ef\u80fd\u4f1a\u6df7\u8d77\u6765<br \/>2. \u6216\u8005\u4e13\u95e8\u4e00\u4e2a\u534f\u7a0b\u901a\u8fc7 chan \u6765\u83b7\u53d6\u9700\u8981\u6253\u5370\u7684\u6570\u636e<br \/>3. \u7528 sync.WaitGroup \u540c\u6b65\u4e0d\u540c\u534f\u7a0b\uff0c\u7c7b\u4f3c\u4e8e thread.join \u7684\u6548\u679c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313337\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Chaox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @silenzio \u800c\u4e14\u597d\u50cf\u83b7\u53d6\u89c4\u5219\u4e5f\u4e0d\u662f\u5b8c\u5168\u968f\u673a\uff0c\u56e0\u4e3a\u6211\u53d1\u73b0 produce \u5148\u6267\u884c\uff0cproduce \u80fd\u591f\u4e00\u76f4\u62a2\u5230\u9501                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313338\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Chaox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhs227 \u662f\u7684\uff0c\u6211\u5b8c\u5168\u7406\u89e3\u4f60\u7684\u89e3\u7b54\uff0c\u6211\u7684\u8fd9\u4e2a\u4ee3\u7801\u5f88\u6709\u95ee\u9898\uff0c\u4f46\u662f\u6211\u7684\u7591\u60d1\u662f consumer \u6c38\u8fdc\u62a2\u4e0d\u5230 produce \u91ca\u653e\u7684\u9501\u3002\u6211\u52a0\u9501\u7684\u76ee\u7684\u5c31\u662f\u4e3a\u4e86\u6253\u5370\u7684\u987a\u5e8f\u548c\u591a\u7ebf\u7a0b\u4e2d\u5b9e\u9645\u6267\u884c\u7684\u65f6\u95f4\u76f8\u5173\u8d77\u6765\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313339\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CEBBCAT <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u60f3\u95ee\u9898\u53ef\u80fd\u51fa\u5728\u5bf9 ch \u52a0\u9501\u90a3\u91cc\uff0c\u52a0\u5165\u6d88\u8d39\u8005\u6d88\u8d39\u8fc7\u6162\uff0c\u90a3\u4e48\u6709\u53ef\u80fd produce \u585e\u6ee1\u4e86 ch \u540e\u8fdb\u5165\u4e0b\u4e00\u6b21\u5faa\u73af\u540e\uff0cconsumer \u88ab\u9501\u963b\u585e\u4e86\uff0c\u6240\u4ee5\u6b7b\u9501\u4e86<\/p>\n<p>\u5173\u4e8e\u6253\u5370\u987a\u5e8f\uff0c\u5c31\u662f\u8fd9\u6837\u7684\u5440\uff0c\u5411 ch \u586b\u5145\u6570\u636e\u548c fmt \u7684\u6253\u5370\u4e0d\u662f\u539f\u5b50\u7684\uff0c\u4e4b\u95f4\u53ef\u80fd\u5b58\u5728\u534f\u7a0b\u5207\u6362<\/p>\n<p>\u6211\u89c9\u5f97\u4f60\u8981\u4e48\u653e\u5f03\u7ea0\u7ed3\u8fd9\u4e2a\uff0c\u8981\u4e48\u6362\u4e00\u4e2a\u66f4\u597d\u7684\u529e\u6cd5\u89e3\u51b3\u65e5\u5fd7\u95ee\u9898<\/p>\n<p>go \u7684\u534f\u7a0b\u8c03\u5ea6\u987a\u5e8f\u6211\u8bb0\u4e0d\u592a\u6e05\u9664\u4e86\uff0c\u4f46\u5e94\u8be5\u662f\u4e24\u4e2a go \u6307\u4ee4\u4e2d\u7684\u540e\u4e00\u4e2a\u4f1a\u88ab\u5148\u5f97\u5230\u6267\u884c\u3002\u4f46\u6211\u60f3\u6ca1\u6709\u4eba\u4f1a\u4f9d\u8d56\u8fd9\u4e2a                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313340\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : silenzio <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u7684\u610f\u601d\u662f\u4f60\u53ef\u4ee5\u5047\u8bbe\u4e3a\u5b89\u5168\u968f\u673a \u4e5f\u5c31\u662f\u8bf4 \u4f60\u4e0d\u80fd\u8ba4\u4e3a\u4f60\u8d34\u51fa\u7684\u4ee3\u7801 \u53ef\u4ee5\u63a7\u5236\u5b83\u7684\u987a\u5e8f \u4f60\u4e0d\u80fd\u5047\u8bbe produce \u6c38\u8fdc\u5148\u6267\u884c \u4f60\u5728\u5199\u4ee3\u7801\u7684\u65f6\u5019 \u5fc5\u987b\u5047\u8bbe\u5b83\u662f\u5b8c\u5168\u968f\u673a\u7684<\/p>\n<p>\u590d\u5236\u4f60\u7684\u4ee3\u7801\u7528 code runner \u6267\u884c 5 \u6b21 \u7ed3\u679c\u5982\u4e0b:<br \/>\u6709\u4e09\u6b21\u662f\u8fd9\u4e2a\u60c5\u51b5: produce \u6267\u884c 5 \u6b21 \u7a0b\u5e8f\u6b7b\u9501<br \/>\u6709\u4e00\u6b21\u662f\u8fd9\u4e2a\u60c5\u51b5: produce \u6267\u884c 4 \u6b21 consumer \u6267\u884c 1 \u6b21 produce \u6267\u884c 2 \u6b21 \u7a0b\u5e8f\u6b7b\u9501<br \/>\u6709\u4e00\u6b21\u662f\u8fd9\u4e2a\u60c5\u51b5: consumer \u5148\u62a2\u5230\u9501 \u7a0b\u5e8f\u6b7b\u9501<\/p>\n<p>\u8fd9\u4e2a\u7ed3\u679c\u53d7\u5f88\u591a\u56e0\u7d20\u5f71\u54cd \u6bd4\u5982<br \/>go \u7a0b\u542f\u52a8\u4e5f\u662f\u9700\u8981\u65f6\u95f4\u7684. \u4f60\u53ef\u4ee5\u8c03\u6574\u4ee3\u7801 \u5148 go consumer(ch) \u518d go produce(ch), \u4f1a\u53d1\u73b0 consumer \u5148\u62a2\u5230\u9501\u7684\u51e0\u7387\u5927\u5927\u63d0\u9ad8 https:\/\/mp.weixin.qq.com\/s\/hIs318h6iJW2O9&#8211;QVqh6w                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313341\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : heimeil <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             var mu sync.Mutex<\/p>\n<p>func produce(ch chan&lt;- int) {<br \/> for i := 0; i &lt; 10; i++ {<br \/> mu.Lock()<br \/> ch &lt;- i<br \/> fmt.Println(&#8220;produce:&#8221; + strconv.Itoa(i))<br \/> mu.Unlock()<br \/> runtime.Gosched()<br \/> }<br \/>}<\/p>\n<p>func consumer(ch &lt;-chan int) {<br \/> for i := 0; i &lt; 10; i++ {<br \/> runtime.Gosched()<br \/> mu.Lock()<br \/> v := &lt;-ch<br \/> fmt.Println(&#8220;consumer:&#8221; + strconv.Itoa(v))<br \/> mu.Unlock()<br \/> }<br \/>}<\/p>\n<p>func main() {<br \/> ch := make(chan int, 5)<br \/> go produce(ch)<br \/> go consumer(ch)<br \/> time.Sleep(10 * time.Second)<br \/>}<\/p>\n<p>produce \u7684 for \u5faa\u73af\u4e0d\u505c\u52a0\u9501\u89e3\u9501\uff0c\u6bd4\u5176\u4ed6\u534f\u7a0b\u7684\u7b49\u5f85\u9501\u91ca\u653e\u66f4\u5bb9\u6613\u7ade\u4e89\u5230\u9501\uff0c\u7528 runtime.Gosched() \u8ba9\u51fa\u6267\u884c\u6743\u7ed9\u5176\u4ed6\u534f\u7a0b\uff0c\u8ba9\u522b\u7684\u534f\u7a0b\u7684\u9501\u4e5f\u6709\u62ff\u5230\u9501\u7684\u53ef\u80fd\uff0c\u4e0d\u8fc7\u8fd8\u662f\u770b\u8fd0\u6c14\uff0c\u591a\u8dd1\u51e0\u6b21                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313342\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Chaox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @silenzio \u8c22\u8c22\u89e3\u7b54\u3002\u6211\u4e4b\u524d\u7684\u8fd0\u884c\u72b6\u51b5\u662f produce \u4e00\u76f4\u80fd\u62a2\u5230\u9501\uff0c\u6211\u8bef\u4ee5\u4e3a\u5176\u4e2d\u6709\u4ec0\u4e48\u89c4\u5219\u3002\u770b\u4e86\u4f60\u7684\u89e3\u7b54\u540e\u6211\u52a0\u5927\u4e86\u5faa\u73af\u6b21\u6570\u548c\u7ba1\u9053\u5bb9\u91cf\uff0cconsumer \u7ec8\u4e8e\u62a2\u5230 produce \u91ca\u653e\u7684\u9501\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313343\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhs227 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56e0\u4e3a\u4f60\u6709 chan\uff0c\u5982\u679c\u6ca1\u6709\u8fd9\u4e2a chan\uff0c\u5c31\u53ef\u4ee5\u62a2\u5230\u9501\u4e86\u3002\u4f46\u7edd\u5bf9\u4e0d\u662f\u5e73\u5747\uff0c\u4e00\u8fb9\u4e00\u6b21\u8fd9\u79cd\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313344\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : silenzio <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Chaox \u5ba2\u6c14\u4e86 \u5171\u540c\u8fdb\u6b65                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313345\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Chaox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @heimeil \u8c22\u8c22\u89e3\u7b54\uff0c\u5b8c\u5168\u7406\u89e3\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313346\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lewinlan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ch \u63a8\u6ee1\u4e86\u5c31\u6b7b\u9501\u4e86\u3002\u5efa\u8bae\u4ed4\u7ec6\u590d\u4e60\u4e00\u4e0b\u64cd\u4f5c\u7cfb\u7edf\u5173\u4e8e\u9501\u7684\u539f\u7406\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3313347\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : walsh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u6709\u4e86\u539f\u5b50\u64cd\u4f5c\uff0c\u4f60\u81ea\u5df1\u5199\u4e2a\u9501\u4e5f\u6ca1\u95ee\u9898\uff0c\u4e3a\u6027\u80fd\u7740\u60f3\u518d\u52a0\u4e0a\u7b49\u5f85\u5524\u9192                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5173\u4e8e Sync.Mutex \u7684\u7ade\u4e89&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/156054"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=156054"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/156054\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=156054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=156054"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=156054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}