Posix信号量 [英] Posix semaphores

查看:107
本文介绍了Posix信号量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我想知道posix信号量是进程间的,还是只需要

同一进程内线程的信号量。


我没有看到它在我找到的posix规范中定义,但

我可能错过了一些东西。


谢谢提前预订。


FiLH


-

Le fondement du constat bourgeois,c''est le bon sens,c''est-à-dire

unevéritéqui's''arrêteurll''ordre arbitraire de celui qui la parle。

Roland Barthes。
http://www.filh.org

Hello,

I would like to know if posix semaphores are inter processes or just
semaphores for threads inside the same process.

I have not seen it defined in the posix specification I have found, but
I have maybe missed something.

Thanks in advance.

FiLH

--
Le fondement du constat bourgeois, c''est le bon sens, c''est-à-dire
une vérité qui s''arrête sur l''ordre arbitraire de celui qui la parle.
Roland Barthes.
http://www.filh.org

推荐答案

" FiLH" <音响** @ filh.orgie>在消息中写道

news:1h3r924.rmwehsgf97rrN%fi ** @ filh.orgie ...
"FiLH" <fi**@filh.orgie> wrote in message
news:1h3r924.rmwehsgf97rrN%fi**@filh.orgie...
我想知道posix信号量是进程间还是只是
I would like to know if posix semaphores are inter processes or just
semaphores for threads inside the same process.




这超出了该组

交易的C编程语言的范围。请尝试与posix / unix相关的小组。


Alex



This is beyond the scope ot the C programming language with which this group
deals. Try posix/unix-related group instead.

Alex


Alexei A. Frounze< al ***** @ chat.ru>写道:
Alexei A. Frounze <al*****@chat.ru> wrote:
" FiLH" <音响** @ filh.orgie>在消息中写道
新闻:1h3r924.rmwehsgf97rrN%fi ** @ filh.orgie ...
"FiLH" <fi**@filh.orgie> wrote in message
news:1h3r924.rmwehsgf97rrN%fi**@filh.orgie...
我想知道posix信号量是进程间还是仅仅是信号量同一进程中的线程。
I would like to know if posix semaphores are inter processes or just
semaphores for threads inside the same process.



这超出了该组处理的C编程语言的范围。请尝试与posix / unix相关的小组。



This is beyond the scope ot the C programming language with which this group
deals. Try posix/unix-related group instead.




哪一个亲爱的?


FiLH


-

Le constons du constat bourgeois,c''est le bon sens,c''est-à-dire

unevéritéquis'' arrêtesurl''ordre arbitraire de celui qui la parle。

Roland Barthes。
http://www.filh.org


" FiLH" <音响** @ filh.orgie>在消息中写道

news:1h3rce9.uk3bam6uzytjN%fi ** @ filh.orgie ...
"FiLH" <fi**@filh.orgie> wrote in message
news:1h3rce9.uk3bam6uzytjN%fi**@filh.orgie...
Alexei A. Frounze< al ***** @ chat。 RU>写道:
Alexei A. Frounze <al*****@chat.ru> wrote:
" FiLH" <音响** @ filh.orgie>在消息中写道
新闻:1h3r924.rmwehsgf97rrN%fi ** @ filh.orgie ...
"FiLH" <fi**@filh.orgie> wrote in message
news:1h3r924.rmwehsgf97rrN%fi**@filh.orgie...
我想知道posix信号量是进程间还是仅仅是信号量同一进程中的线程。
I would like to know if posix semaphores are inter processes or just
semaphores for threads inside the same process.


这超出了这个
组所处理的C编程语言的范围。尝试使用posix / unix相关组。



This is beyond the scope ot the C programming language with which this group deals. Try posix/unix-related group instead.



亲爱的是哪一个?



Which one dear ?




不是这一个,那是'当然。尝试搜索
http://groups.google.com


Alex



Not this one, that''s for sure. Try searching through
http://groups.google.com.

Alex


这篇关于Posix信号量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆