Coder Social home page Coder Social logo

thread-master's Introduction

ThreadPool_C

介绍

Linux下用C语言实现的线程池及其线程间通信

安装教程

  1. 直接make编译即可

使用说明

  1. src目录下存放源码
  2. head目录下存放头文件
  3. obj目录存放编译后的.o文件

函数使用

  1. For instance :send(&G,2,c,1,0x0206); 2是你要发送的线程ID c是字符串消息的地址 1是你自己的线程ID 0x0206是msg的ID &G不需要和改动
  2. For instance :delete(&G,1,0x106); 1是你要删除消息所在的线程id 106是你要删除的消息msgid

thread-master's People

Contributors

limengzhaolihai avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.