Article View: pl.comp.lang.python
Article #28363Re: thread 100%
From: zigi
Date: Mon, 12 Dec 2011 11:39
Date: Mon, 12 Dec 2011 11:39
13 lines
1796 bytes
1796 bytes
Może rozświetle bardziej temat. Mam funkcję listującą katalogi i pliki (plików jest 2 000 000 szt ) wywoływaną w nowym wątku. Ładnie wszystko chodzi lecz zapycha cały procesor. Może ktoś ma pomysł jak to można rowiązać. On 8 Gru, 13:52, zigi <cezar4...@gmail.com> wrote: > Witam, > Panowie cz jest możliwość ograniczenia wątku aby nie zajmował 100% > procesora ? > > Pzdr.
Technical Details
Message-ID:
<26c1c0ef-4c73-4a07-9001-ced63ae670b7@u5g2000vbd.googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!xlned.com!feeder1.xlned.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!u5g2000vbd.googlegroups.com!not-for-mailReferences:
<d5f76cd1-7b8b-4b4c-b2da-66b212e9cc15@u6g2000vbg.googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!xlned.com!feeder1.xlned.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!u5g2000vbd.googlegroups.com!not-for-mail From: zigi <cezar4846@gmail.com> Newsgroups: pl.comp.lang.python Subject: Re: thread 100% Date: Mon, 12 Dec 2011 03:39:56 -0800 (PST) Organization: http://groups.google.com Lines: 16 Message-ID: <26c1c0ef-4c73-4a07-9001-ced63ae670b7@u5g2000vbd.googlegroups.com> References: <d5f76cd1-7b8b-4b4c-b2da-66b212e9cc15@u6g2000vbg.googlegroups.com> NNTP-Posting-Host: 217.67.208.92 Mime-Version: 1.0 X-Trace: posting.google.com 1323689997 788 127.0.0.1 (12 Dec 2011 11:39:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 12 Dec 2011 11:39:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u5g2000vbd.googlegroups.com; posting-host=217.67.208.92; posting-account=KO8BxgoAAACCbIevmmXkvGNLzCGU-P0N User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLUEHNKC X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC LM 8; BRI/2),gzip(gfe) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit