more volatiles, not sure whether these are needed

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@630417 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Roland Weber 2008-02-23 09:04:32 +00:00
parent 898a8edc53
commit a42e4de19e
3 changed files with 7 additions and 7 deletions

View File

@ -50,9 +50,9 @@ import org.apache.http.util.EntityUtils;
*/
public class ExecReqThread extends GetConnThread {
protected RequestSpec request_spec;
protected HttpResponse response;
protected byte[] response_data;
protected RequestSpec request_spec;
protected volatile HttpResponse response;
protected volatile byte[] response_data;
/**

View File

@ -48,8 +48,8 @@ public class GetConnThread extends Thread {
protected HttpRoute conn_route;
protected long conn_timeout;
protected ManagedClientConnection connection;
protected Throwable exception;
protected volatile ManagedClientConnection connection;
protected volatile Throwable exception;
/**
* Creates a new thread.

View File

@ -44,8 +44,8 @@ public class AwaitThread extends Thread {
protected Lock wait_lock;
protected Date wait_deadline;
protected boolean waiting;
protected Throwable exception;
protected volatile boolean waiting;
protected volatile Throwable exception;
/**