Future
What is the ideal way to handle two different types of futures where one future is dependent on the other future?
I\'m looking at AKKA\'s Java Futures API, and I see a lot of ways to handle multiple futures of the same type, but I don\'t see anything that pops out at me for handling futures of different types. I开[详细]
2023-03-20 05:50 分类:问答How do I reverse set_value() and 'deactivate' a promise?
I have a total n00b question here on synchronization. I have a \'writer\' thread which assigns a different value \'p\' to a promise at each iteration. I need \'reader\' threads which wait for shared_f[详细]
2023-03-16 19:30 分类:问答Should my generic Future implementation have a Completed event?
I\'m writing a generic Future&开发者_StackOverflow社区lt;T> class which encapsulates getting a value asynchronously and I\'ve noticed most existing implementations on the web have with a contract l[详细]
2023-03-15 13:34 分类:问答Replacing system calls (syscalls) in Linux 2.6+
I\'m looking into writing a userland threading library, since there seems to be no active work in this area, and I believe the C++0x promises and futuresmay give this model some power. Unfortunately,[详细]
2023-03-13 18:20 分类:问答The strange case of multiple Futures in Scala
What\'s the the connection between开发者_JS百科 those Future-related class and traits in Scala, and why are they sprinkled over different packages?[详细]
2023-03-11 09:27 分类:问答Out-of-order returns from Java Futures
The only model that I can come up with for running multiple similar processes (SIMD) using Java Futures (java.util.concurrent.Future<T>) is as follows:[详细]
2023-03-03 07:26 分类:问答Get Futures' IDs in Java
I have the following code: for (int i = 0; i < nComp; i++) { Ca开发者_JAVA技巧llable<Long> worker = new WSCaller(compConns[i]);[详细]
2023-02-26 18:36 分类:问答Does a wait on Scala Future block thread?
When I wait for result of Scala Future, does it behave more like receive, or like react, i.e. does it block a thread, or sched开发者_StackOverflow中文版ules a continuation after result if available?Ye[详细]
2023-02-24 02:00 分类:问答NHibernate parent, child collection with futures
I have this setup: Parent, with a collection of Child. class Parent { IList<Child> Childs { get; set; }[详细]
2023-02-22 22:51 分类:问答《We Are The Future (我们就是未来)》MP3歌词-H.O.T?
We Are The Future (我们就是未来) H.O.T 专辑:Wolf & Sheeps 语种: 韩语 发行时间:1997开发者_运维技巧-07-05[详细]
2023-02-20 13:51 分类:问答