Subversion Repositories freemyipod

Rev

Rev 616 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 616 Rev 679
Line 266... Line 266...
266
        Returns an empty thread if not found
266
        Returns an empty thread if not found
267
    """
267
    """
268
    for thread in threads:
268
    for thread in threads:
269
        if address == thread.addr:
269
        if address == thread.addr:
270
            return thread
270
            return thread
-
 
271
    from libemcoredata import scheduler_thread
271
    thread = scheduler_thread()._to_bunch()
272
    thread = scheduler_thread()._to_bunch()
272
    thread.name = "[Invalid Thread %08X]" % address
273
    thread.name = "[Invalid Thread %08X]" % address
273
    return thread
274
    return thread
274
 
275
 
275
 
276