Danesh Daroui wrote:
Thanks for the info. I thought Pike would run all threads simultaneously
when number of threads does not exceed number of available processors and
otherwise using time sharing like other languages.
Well, most popular interpreter-based languages have the same problem as Pike:
On Mon, May 5, 2014 at 9:21 AM, Stephen R. van den Berg s...@cuci.nl wrote:
Danesh Daroui wrote:
Thanks for the info. I thought Pike would run all threads simultaneously
when number of threads does not exceed number of available processors and
otherwise using time sharing like other languages.
Dear Pike users and developers,
I wanted to ask whether there is any library implemented for Pike to
support concurrency or if it planed to do so as an embedded feature or
added package? I think the language has a great potential to be widely
used if such enhancements are done. I am
On Sat, May 3, 2014 at 1:14 AM, Danesh Daroui danesh.dar...@gmail.com wrote:
I wanted to ask whether there is any library implemented for Pike to support
concurrency or if it planed to do so as an embedded feature or added
package? I think the language has a great potential to be widely used
with
the
book yet).
Hi!
What exactly do you mean by concurrency? Pike comes with a Thread
module, which works very nicely for I/O-bound operations; though if
you can get your head around it, single-threaded callback handling
works beautifully there.
Chris Angelico
--
Using Opera's mail client
On Sat, May 3, 2014 at 1:34 AM, Danesh Daroui danesh.dar...@gmail.com wrote:
Thanks for your answer. I guess threads is something that I was looking for.
By concurrency I meant being able
to spawn multiple threads which will logically run in parallel. Moreover
having the possibility to define
Hi Chris,
Thank you for your comprehensive answer. Its good to know that Pike
supports such important features and I am actually very keen to discover
how mutex works in Pike. However, I guess concurrency was not in the main
focus when Pike was designed but it is still very good that it supports