码迷,mamicode.com
首页 >  
搜索关键字:signal    ( 1590个结果
pthread_cond_wait和pthread_cond_signal分析
1.pthread线程控制int pthread_create(pthread_t *restrict tidp, const pthread_attr_t *restrict attr, void *(*stat_rtn)(void*), void *restrict arg);int pthre...
分类:其他好文   时间:2015-01-31 14:32:48    阅读次数:490
Reentrant Function/Thread-Safe/Async-Signal-Safe Function
1.Reentrant Function:可重入函数当捕捉到信号时,不论进程的主控制流程当前执行到哪儿,都会先跳到信号处理函数中执行,从信号处理函数返回后再继续执行主控制流程。信号处理函数是一个单独的控制流程,因为它和主控制流程是异步的,二者不存在调用和被调用的关系,并且使用不同的堆栈空间。使用小结...
分类:其他好文   时间:2015-01-31 14:28:27    阅读次数:747
How to turn the lamp outage off with Ford VCM II IDS diagnostic tool
For 2008-2010 model years, the function of the turn signal flasher was incorporated into the software of the Smart Power Distribution Junction Box (SP...
分类:其他好文   时间:2015-01-30 17:35:00    阅读次数:169
matlab生成HEX文件
HEX文件格式不赘述,写里直接放上代码。请批评改正。 1 %%convert a sinal data into hex file format 2 % data format:16bit 3 % signal length: less than 2^24-1 4 % author: Yang L....
分类:其他好文   时间:2015-01-30 17:25:23    阅读次数:261
APUE1.9信号
#include "apue.h" #include static void sig_int(int); /* our signal-catching function */ int main(void) { char buf[MAXLINE]; /* from apue.h */ pid_t pi...
分类:其他好文   时间:2015-01-29 21:03:28    阅读次数:153
MySQL存储过程
1.参数验证和错误反馈 mysql 5.5开始引入SIGNAL语句,通过它可以反馈存储过程的数据验证错误.在5.5之前的版本,只能通过其它方法变通解决. SIGNAL语句的语法: SIGNAL SQLSTATE[value] sqlstate_value [SET MESSAGE_TEXT= me....
分类:数据库   时间:2015-01-28 19:29:33    阅读次数:397
BeeFramework 笔记 四(UISignal 总结)
http://yang152412.blog.163.com/blog/static/175861582201332321351862/一、UISignal的工作模式 1、发送Signal,比如从ViewController的loadView和ViewDidLoad方法,Button的touch方法...
分类:其他好文   时间:2015-01-27 17:46:17    阅读次数:1059
多线程之线程通信条件Condition
Condition是Locks锁下的还有一种线程通信之间唤醒、堵塞的实现。它以下的await,和signal可以实现Object下的wait,notify和notifyAll的所有功能,除此之外改监视器和已绑定到每一个条件,可以实现多条件的监听。Condition实质是被绑定到一个锁上,腰围特定的L...
分类:编程语言   时间:2015-01-27 11:00:40    阅读次数:264
C#学习笔记之线程 - 通知Signal
通知事件等待句柄 Signal With EventWaitHandle事件等待句柄常用于通知。当一个线程等待直到接收到另外一个线程发出的信号。事件等待句柄是最简单的信号结构,它与C#事件无关。有三种方式:AutoResetEvent,ManualResetEven及CountdownEvent。前...
分类:编程语言   时间:2015-01-27 10:49:41    阅读次数:274
管道,消息队列,共享内存!
2015.1.26星期一,阴天linux中使用的较多的进程通信方式主要有一下几种:1.管道(Pipe):管道可用于具有亲缘关系进程间的通信,有名管道,除了具有管道所具有功能外,它 还允许无亲缘关系进程的通信2.信号(signal):信号是在软件层次上对中断机制的一种模拟,它是...
分类:其他好文   时间:2015-01-27 00:13:53    阅读次数:687
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!