bug-gnustep
[Top][All Lists]
Advanced

[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:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)

URL:
  <http://savannah.gnu.org/bugs/?20163>

                 Summary: Thread safety of -[GSHTTPURLHandle
loadInForeground]
                 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

    _______________________________________________________

Details:

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

<http://savannah.gnu.org/bugs/download.php?file_id=13037>
-------------------------------------------------------
Date: Wednesday 06/13/2007 at 12:38  Name: GNUmakefile  Size: 166B   By:
iamleeg

<http://savannah.gnu.org/bugs/download.php?file_id=13038>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20163>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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