On Wednesday, 15 November 2017 at 11:57:25 UTC, Vladimirs
Nordholm wrote:
Hello people from D-land.
To summarise my problem: I have a program in the terminal
(Posix) with two threads: one which my main program is run on,
and a second one which polls input via `poll(...)` and
`read(...)`.
On Wednesday, 15 November 2017 at 11:57:25 UTC, Vladimirs
Nordholm wrote:
Hello people from D-land.
To summarise my problem: I have a program in the terminal
(Posix) with two threads: one which my main program is run on,
and a second one which polls input via `poll(...)` and
`read(...)`.
On Wednesday, November 15, 2017 11:57:25 Vladimirs Nordholm via Digitalmars-
d-learn wrote:
> Hello people from D-land.
>
> To summarise my problem: I have a program in the terminal (Posix)
> with two threads: one which my main program is run on, and a
> second one which polls input via
On 15/11/2017 11:57 AM, Vladimirs Nordholm wrote:
Hello people from D-land.
To summarise my problem: I have a program in the terminal (Posix) with
two threads: one which my main program is run on, and a second one which
polls input via `poll(...)` and `read(...)`.
Let's call main thread T1,
Hello people from D-land.
To summarise my problem: I have a program in the terminal (Posix)
with two threads: one which my main program is run on, and a
second one which polls input via `poll(...)` and `read(...)`.
Let's call main thread T1, and a semi-blocking input-thread T2.
Every second