- 授权协议: Apache
- 开发语言: C/C++
- 操作系统: 跨平台
- 软件首页: https://github.com/tylertreat/chan
- 软件文档: https://github.com/tylertreat/chan
- 官方下载: https://github.com/tylertreat/chan
软件介绍
chan 是纯 C 实现的 Go 的 Channels,示例代码:
#include <pthread.h>
#include <stdio.h>
#include "chan.h"
chan_t* chan;
void* ping()
{
// Send blocks until receiver is ready.
chan_send(chan, "ping");
return NULL;
}
int main()
{
// Initialize unbuffered channel.
chan = chan_init(0);
pthread_t th;
pthread_create(&th, NULL, ping, NULL);
// Receive blocks until sender is ready.
void* msg;
chan_recv(chan, &msg);
printf("%s\n", msg);
// Clean up channel.
chan_dispose(chan);
}
UML和模式应用
拉曼 / 李洋、郑䶮 / 机械工业出版社 / 2006-5 / 66.00元
《UML和模式应用(原书第3版)》英文版面世以来,广受业界专家和读者的好评,历经3个版本的锤炼,吸收了大量OOA,D的精华思想和现代实践方法。全书叙述清晰、用词精炼、构思巧妙,将面向对象分析设计的概念、过程、方法、原则和个人的实践建议娓娓道来,以实例为证,将软件的分析和设计的过程叙述得如逻辑推理一般,于细节处见真知。 《UML和模式应用(原书第3版)》是一本经典的面向对象分析设计技术的入门书......一起来看看 《UML和模式应用》 这本书的介绍吧!
HTML 编码/解码
HTML 编码/解码
XML、JSON 在线转换
在线XML、JSON转换工具
