[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #20163] Thread safety of -[GSHTTPURLHandle loadInForeground]

From: Graham J Lee
Subject: [bug #20163] Thread safety of -[GSHTTPURLHandle loadInForeground]
Date: Wed, 13 Jun 2007 11:38:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061201 Firefox/ (Ubuntu-feisty)


                 Summary: Thread safety of -[GSHTTPURLHandle
                 Project: GNUstep
            Submitted by: iamleeg
            Submitted on: Wednesday 06/13/2007 at 12:38
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



The attached program will attempt to fetch from an NSURLHandle multiple
times, spawning multiple threads to do it.  On apple-apple-* it works as
expected, and every fetch results in some data being available.  On gnu-gnu-*
it doesn't work reliably, with more than one worker thread.  Sometimes it's
completely successful, but sometimes some of the -[NSURLHandle
loadInForeground] requests return nil and, as I've been testing with HTTP
URLs, also don't have an NSHTTPPropertyStatusCodeKey; it seems like the
method returns without actually having performed the load.


File Attachments:

Date: Wednesday 06/13/2007 at 12:38  Name: NSURLHandleThreads.m  Size: 3kB  
By: iamleeg

Date: Wednesday 06/13/2007 at 12:38  Name: GNUmakefile  Size: 166B   By:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]