Skip to main content

Questions tagged [signals]

0 votes
1 answer
54 views

I need to pass exactly event (not a lasting state) over communication connection that can provide boolean or integer value, possible to set, clear and observe by both sides. It is OPC UA framework but ...
h22's user avatar
  • 966
24 votes
5 answers
7k views

From what books I read on linux system programming, it seems like signals were the primary way to communicate events between processes. They were the gateway into many interesting functionalities, ...
Incomputable's user avatar
1 vote
1 answer
64 views

I've recently been working on a customerproject that makes extensive use of a signals/slots like mechanism. Their approach is to directly connect signals from a larger framework to private methods of ...
rincewound's user avatar
2 votes
2 answers
2k views

Ive brought this up with other developers, and they say while there is no obvious way forward, it seems that they all have an idea of how to go about it. Is there any way I can implement signals and ...
Anon's user avatar
  • 3,649
0 votes
1 answer
219 views

My problem is to classify input time series signal (128 points, equidistant in time, range 0.0..1.0) in limited amount (say 16) different classes. We have hand-classified 20000 samples and we are ...
SavinG's user avatar
  • 9
1 vote
1 answer
12k views

I have been assigned the task of designing a simple web server using C in my UNIX & C class. The webserver listens and forks when a successful connection is made so that multiple clients may be ...
sulay's user avatar
  • 31
14 votes
2 answers
10k views

What is the recommended etiquette when it comes to EINTR in libraries? I'm currently writing a function that does some file system tasks with the POSIX API, but a lot of the calls I use can ...
Rufflewind's user avatar
  • 2,245
2 votes
1 answer
1k views

I'm just trying to figure out what makes the Signal/Slot (Pattern?). Wikipedia tells me not so much and calls it an implementation of the ObserverPattern* while I would think it has much more ...
Scheintod's user avatar
  • 130
0 votes
1 answer
2k views

I am using signals (specifically Boost signals2) to create an event driven protocol API and model. Most elements have their own signals, and there are usually multiple of each element. Consider a ...
111111's user avatar
  • 121
1 vote
1 answer
1k views

This situation is prone to deadlock of processes in an operating system and I'd like to solve it with the minimum of semaphores. Basically there are three cooperating processes that all read data ...
stackuser's user avatar
  • 185
3 votes
2 answers
157 views

In electrical engineering class we learned that signal lines are not ideal, so it takes time for the signal to reach the other end of the cable, and if we doesn't take this into account, it can lead ...
totymedli's user avatar
  • 1,319
11 votes
1 answer
590 views

This video clip by NASA says that data from Curiosity relayed by the Mars Reconnaissance Orbiter (MRO) would be stored for a few hours, then transmitted to Earth (apparently taking about 14 minutes), ...
Matt's user avatar
  • 419
6 votes
3 answers
2k views

Background Recently, I have been fascinated about the possibilities of dataflow-based programming approaches - in particular, signal/event-based concepts as realized by functional reactive ...
Frank's user avatar
  • 14.4k