-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexis,
On 8/21/2011 10:16 AM, alexis wrote:
> public class Queue {
>
> private static org.apache.log4j.Logger log =
> Logger.getLogger(Queue.class); private Command command; private
> boolean valueSet = false;
So, a single-item queue? I think that
i just did :) ill be using these on the new version of my app
thanks again
On Aug 21, 2011, at 12:34 PM, Felix Schumacher wrote:
> Am Sonntag, den 21.08.2011, 12:13 -0300 schrieb Alexis Fidalgo
> [voiceovernetinc]:
>> forget it, fixed. thanks again
> Even though. Have you had a look at the pac
Am Sonntag, den 21.08.2011, 12:13 -0300 schrieb Alexis Fidalgo
[voiceovernetinc]:
> forget it, fixed. thanks again
Even though. Have you had a look at the package java.util.concurrent? In
there are blocking queues and executor services, like the one you are
trying to write :)
Regards
Felix
>
>
forget it, fixed. thanks again
On Aug 21, 2011, at 12:06 PM, alexis wrote:
> better, concurrency issue is gone, facing a new one, i cannot stop the
> Consumer thread, i have this
>
>
> @Override
>public void run() {
>
>dao = (DAO) sc.getAttribute("dao");
>try {
>
better, concurrency issue is gone, facing a new one, i cannot stop the Consumer
thread, i have this
@Override
public void run() {
dao = (DAO) sc.getAttribute("dao");
try {
q = (Queue) sc.getAttribute("Queue");
while (keepRunning) {
C
alexis schrieb:
>I marked this issue OT because i think is a conceptual issue and not
>related to any application per se.
>
>I have 2 main issues with concurrency, one class is a queue
>
>public class Queue {
>
>private static org.apache.log4j.Logger log =
>Logger.getLogger(Queue.class);
>
alexis schrieb:
>I marked this issue OT because i think is a conceptual issue and not
>related to any application per se.
>
>I have 2 main issues with concurrency, one class is a queue
>
>public class Queue {
>
>private static org.apache.log4j.Logger log =
>Logger.getLogger(Queue.class);
>
I marked this issue OT because i think is a conceptual issue and not related to
any application per se.
I have 2 main issues with concurrency, one class is a queue
public class Queue {
private static org.apache.log4j.Logger log = Logger.getLogger(Queue.class);
private Command command;