Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

knowledge of threads working under the hood in the os layer

23 views
Skip to first unread message

kushal bhattacharya

unread,
Mar 11, 2017, 3:41:44 AM3/11/17
to
hi,
I want to know how threads actually work under the hood in the os layer and how it allocates data and other memory related stuffs . Can any of you please give me some references or any book from where i can have a start?
Thanks,
Kushal

Alf P. Steinbach

unread,
Mar 11, 2017, 5:24:17 AM3/11/17
to
Wikipedia is a good place to start:

<url: https://en.wikipedia.org/wiki/Thread_(computing)>

In my student days I learned about threading, except we didn't call it
treading back then, by implementing time-slice threading on a
single-board computer. Our task was to make a home control system that
could manage the lights and heating pretty much automatically. As I
recall the single board computer used a Z80 processor and we developed
the software using HP64000 workstations, in Pascal and assembly.

I think you can learn a lot by doing roughly the same, except with much
more modern hardware and software. There are two main routes:

* Use a simulation of an old computer. I think a DOSBox comes pretty
close to reality. You can run old PC programs in a DOSBox.

* Use an Arduino or similar. I do not have personal experience with it
but I know it's pretty cheap and does support C++. What I don't know is
if you can take full charge of the beast to e.g. implement threading.


Cheers & hth.,

- Alf

kushal bhattacharya

unread,
Mar 11, 2017, 11:50:05 PM3/11/17
to
ok i will try :) by dosbox do u mean virtualvm box ?

Jorgen Grahn

unread,
Mar 12, 2017, 3:40:54 PM3/12/17
to
I don't know what you already know, but if you don't already know
about processes, you should probably start there. Perhaps with Unix
processes -- there's a lot more material out there on them than on
threads.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
0 new messages