<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psutil.git/psutil/tests/test_system.py, branch parallel-build</title>
<subtitle>github.com: giampaolo/psutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/'/>
<entry>
<title>Test sub-processes cleanup and ProcessTestCase class (#1739)</title>
<updated>2020-04-28T19:06:38+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-28T19:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=0065a3921b1cf31ad32cca5bd3ca209fe1fbceed'/>
<id>0065a3921b1cf31ad32cca5bd3ca209fe1fbceed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Parallel tests (UNIX) (#1709)</title>
<updated>2020-04-26T00:02:43+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-26T00:02:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=420c9e82fd3321e3062424846870f3104c1b0eb8'/>
<id>420c9e82fd3321e3062424846870f3104c1b0eb8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of TESTFN global variable (#1734)</title>
<updated>2020-04-24T21:56:57+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-24T21:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=bc899c3f24581aa122e1b5b18ea6e694c2faddce'/>
<id>bc899c3f24581aa122e1b5b18ea6e694c2faddce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>revert #1667 process_iter() new_only param</title>
<updated>2020-02-18T00:43:16+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-18T00:43:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=c9fc4fdadc5a19d97916cbf13b1b479834b94bd8'/>
<id>c9fc4fdadc5a19d97916cbf13b1b479834b94bd8</id>
<content type='text'>
On a second thought I realized that process_iter() uses a global
variable, so it's not thread safe.
That means that if the are 2 threads using it, the first thread one calling the function (+ consume the iterator), will "steal" the processes of the second thread.

psutil.cpu_percent() has the same problem. That means we have a problem
can't solve with the current API and requires a lot of thinking on how
to solve it as it's not obvious.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On a second thought I realized that process_iter() uses a global
variable, so it's not thread safe.
That means that if the are 2 threads using it, the first thread one calling the function (+ consume the iterator), will "steal" the processes of the second thread.

psutil.cpu_percent() has the same problem. That means we have a problem
can't solve with the current API and requires a lot of thinking on how
to solve it as it's not obvious.
</pre>
</div>
</content>
</entry>
<entry>
<title>point all shebangs to python 3</title>
<updated>2020-02-15T17:17:37+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-15T17:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=3424a1a6f8f91292eca6373ba0cd3fb5170c1648'/>
<id>3424a1a6f8f91292eca6373ba0cd3fb5170c1648</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>divide test_system.py unit tests in multiple classes</title>
<updated>2020-02-14T02:24:03+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-14T02:24:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=8bc5a180e96445fcd9e96fa6aebf8bc698910d96'/>
<id>8bc5a180e96445fcd9e96fa6aebf8bc698910d96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix pypy on Linux</title>
<updated>2020-02-12T12:16:20+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-12T12:16:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=205f213dd5f548d19873a55ee1a7dc28a77d46e1'/>
<id>205f213dd5f548d19873a55ee1a7dc28a77d46e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for PyPy on Windows (#1686)</title>
<updated>2020-02-11T22:04:38+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-11T22:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=9e2ca978b211993066b0dc41da9aa63429655406'/>
<id>9e2ca978b211993066b0dc41da9aa63429655406</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add CI testing for FreeBSD (#1671)</title>
<updated>2020-01-24T20:56:15+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-01-24T20:56:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=634572caf7f65f2e0c749c52f7cdec2e5303a704'/>
<id>634572caf7f65f2e0c749c52f7cdec2e5303a704</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add *new_only* parameter for process_iter() (#1667)</title>
<updated>2020-01-18T12:04:07+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-01-18T12:04:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=ef28caec6c276c76c771c0bad03aea80cd765866'/>
<id>ef28caec6c276c76c771c0bad03aea80cd765866</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
