green-threads Questions

3

I'm doing some research in C++ green threads, mostly boost::coroutine2 and similar POSIX functions like makecontext()/swapcontext(), and planning to implement a C++ green thread library on top of b...
Hedveh asked 1/2, 2016 at 4:59

3

Green threads were introduced in Erlang and probably all languages based on it know them, also in go (gorutines). Then afaik they were removed from rust. My questions: How would one implement gr...
Chanukah asked 17/5, 2016 at 20:8

3

Solved

I was reading about differences between threads and processes, and literally everywhere online, one difference is commonly written without much explanation: If a process gets blocked, remaining pr...

2

Solved

One of my django projects is deployed using ansible (gunicorn & nginx). Below is gunicorn configuration : bind = '127.0.0.1:8001' backlog = 2048 workers = 8 worker_class = 'sync' worker_conne...
Soggy asked 10/8, 2016 at 14:51

9

Solved

I have written a little python application and here you can see how Task Manager looks during a typical run. (source: weinzierl.name) While the application is perfectly multithreaded, unsurprisi...
Orten asked 16/6, 2009 at 15:58

2

I am looking into designing a concurrent language with support for lightweight processes ("green threads") in the vein of Erlang using LLVM as a native code generator. Lightweight processes are all...

3

I am well used to relying on GHC's forkIO for portable lightweight threads when programming in Haskell. What are equivalent libraries for C that can provide the same scalibility and ease of ...
Nata asked 16/1, 2013 at 21:41

1

Runtime freedom: Rust’s runtime system and green-threading model has been entirely removed, which cut the static binary size of “hello world” in half and has opened the door to lower-level hooks in...
Kusin asked 3/4, 2015 at 7:50

4

Solved

I was reading this informative page on Green Thread (Wikipedia) and I wonder: what other programming systems rely on "green processes" beside Erlang? Edit: " Green Thread != Green Process " Green...

4

What I understand, Haskell have green threads. But how light weight are they. Is it possible to create 1 million threads? Or How long would it take for 100 000 threads?
Sweatband asked 14/12, 2009 at 10:42

2

Solved

On wikipedia: Green_threads is described as normally cannot run on multi-cores without explaining why. On a multi-core processor, native thread implementations can automatically assign work to ...
Amazement asked 6/6, 2013 at 15:9

2

Solved

As Wikipedia states: Green threads emulate multi-threaded environments without relying on any native OS capabilities, and they are managed in user space instead of kernel space, enabling them to...
Diagram asked 6/10, 2012 at 10:28

3

Possible Duplicate: Green Threads vs Non Green Threads Why are Java threads implemented at the user level in the JVM called "green threads"? Is it by analogy to environmentalism, mean...
Undine asked 13/2, 2012 at 20:50

6

Preemptive multitasking in C/C++: can a running thread be interrupted by some timer and switch between tasks? Many VMs and other language runtimes using green-threading and such are implemen...
Didst asked 30/10, 2011 at 8:40

3

Solved

After reading about Erlang's lighweight processes I was pretty much sure that they were "green threads". Until I read that there are differences between green threads and Erlang's processes. But I ...
Ferino asked 22/12, 2009 at 15:43

1

Solved

Here's the test case... import Tkinter as tk import thread from time import sleep if __name__ == '__main__': t = tk.Tk() thread.start_new_thread(t.mainloop, ()) # t.iconbitmap('icon.ico') b ...
Capillarity asked 29/7, 2009 at 5:57
1

© 2022 - 2024 — McMap. All rights reserved.