<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/dgoulet/tor, branch better_workqueue_v3</title>
<subtitle>David's tor repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/'/>
<entry>
<title>Fix: remove whitespace and update a comment in cpuworker.c</title>
<updated>2015-01-21T19:31:02+00:00</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@ev0ke.net</email>
</author>
<published>2015-01-21T19:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=84f5cb749d614deeb66f9032c54cd9885e300493'/>
<id>84f5cb749d614deeb66f9032c54cd9885e300493</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@ev0ke.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Goulet &lt;dgoulet@ev0ke.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: change copyright year in workqueue and thread tests</title>
<updated>2015-01-21T19:31:02+00:00</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@ev0ke.net</email>
</author>
<published>2015-01-21T18:58:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=f52ac5be74b3cb6f657a6d7a1fa7db2c9595728d'/>
<id>f52ac5be74b3cb6f657a6d7a1fa7db2c9595728d</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@ev0ke.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Goulet &lt;dgoulet@ev0ke.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support monotonic time for pthread_cond_timedwait</title>
<updated>2015-01-21T19:29:12+00:00</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@ev0ke.net</email>
</author>
<published>2015-01-21T18:18:56+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=d684dbb0c76c4de0b21fabee99fc08833249bd87'/>
<id>d684dbb0c76c4de0b21fabee99fc08833249bd87</id>
<content type='text'>
This is to avoid that the pthread_cond_timedwait() is not affected by time
adjustment which could make the waiting period very long or very short which
is not what we want in any cases.

Signed-off-by: David Goulet &lt;dgoulet@ev0ke.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to avoid that the pthread_cond_timedwait() is not affected by time
adjustment which could make the waiting period very long or very short which
is not what we want in any cases.

Signed-off-by: David Goulet &lt;dgoulet@ev0ke.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix up some workqueue/threading issues spotted by dgoulet.</title>
<updated>2015-01-21T17:26:41+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2015-01-21T17:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=3c8dabf69aa950c2df49f48aebbe02aac5b519f3'/>
<id>3c8dabf69aa950c2df49f48aebbe02aac5b519f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>handle EINTR in compat_*threads.c</title>
<updated>2015-01-21T17:18:11+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2015-01-21T17:18:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=ac5b70c700b211008853b5f212100a867f508dfd'/>
<id>ac5b70c700b211008853b5f212100a867f508dfd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update workqueue implementation to use a single queue for the work</title>
<updated>2015-01-15T16:05:22+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2015-01-14T18:29:58+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=a52e549124adb09ad0b49b7d2b5b3fb79bfe7aeb'/>
<id>a52e549124adb09ad0b49b7d2b5b3fb79bfe7aeb</id>
<content type='text'>
Previously I used one queue per worker; now I use one queue for
everyone.  The "broadcast" code is gone, replaced with an idempotent
'update' operation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously I used one queue per worker; now I use one queue for
everyone.  The "broadcast" code is gone, replaced with an idempotent
'update' operation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Incorporate some comments based on notes from dgoulet</title>
<updated>2015-01-14T16:31:14+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2013-12-16T15:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=051ad788e0ebcd0c99c1498e7e45faa71c4830c1'/>
<id>051ad788e0ebcd0c99c1498e7e45faa71c4830c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid chan/circ linear lookups for requests</title>
<updated>2015-01-14T16:31:12+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2013-10-02T19:11:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=fb5ebfb50770062c77534d4db4c6a9c5ad475fa0'/>
<id>fb5ebfb50770062c77534d4db4c6a9c5ad475fa0</id>
<content type='text'>
The solution I took is to not free a circuit with a pending
uncancellable work item, but rather to set its magic number to a
sentinel value.  When we get a work item, we check whether the circuit
has that magic sentinel, and if so, we free it rather than processing
the reply.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The solution I took is to not free a circuit with a pending
uncancellable work item, but rather to set its magic number to a
sentinel value.  When we get a work item, we check whether the circuit
has that magic sentinel, and if so, we free it rather than processing
the reply.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove if (1) indentation in cpuworker.c</title>
<updated>2015-01-14T16:28:26+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2013-10-02T16:34:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=6c9c54e7fa8841e3c4d4d24f5933d433171d1112'/>
<id>6c9c54e7fa8841e3c4d4d24f5933d433171d1112</id>
<content type='text'>
To avoid having diffs turn out too big, I had replaced some unneeded
ifs and fors with if (1), so that the indentation would still work out
right.  Now I might as well clean those up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid having diffs turn out too big, I had replaced some unneeded
ifs and fors with if (1), so that the indentation would still work out
right.  Now I might as well clean those up.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor cpuworker to use workqueue/threadpool code.</title>
<updated>2015-01-14T16:23:34+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2013-10-02T16:32:09+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/dgoulet/tor.git/commit/?id=1e896214e7eb5ede65663486291252b171e9daea'/>
<id>1e896214e7eb5ede65663486291252b171e9daea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
