Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /XspfManager/XspfMThreadSleepRequest.m

Parent Directory Parent Directory | Revision Log Revision Log


Revision 169 - (hide annotations) (download)
Sun Dec 20 12:14:28 2009 UTC (14 years, 4 months ago) by masaki
Original Path: XspfManager/XspfMThreadSpleepRequest.m
File size: 507 byte(s)
[Test] 起動時にメインスレッドリクエストにウエイトを入れてみた。
1 masaki 169 //
2     // XspfMThreadSpleepRequest.m
3     // XspfManager
4     //
5     // Created by Hori,Masaki on 09/12/20.
6     // Copyright 2009 masakih. All rights reserved.
7     //
8    
9     #import "XspfMThreadSpleepRequest.h"
10    
11    
12     @implementation XspfMThreadSpleepRequest
13     + (id)requestWithSleepTime:(NSTimeInterval)time
14     {
15     return [[[self alloc] initWithSleepTime:time] autorelease];
16     }
17     - (id)initWithSleepTime:(NSTimeInterval)time
18     {
19     [super init];
20     sleepTime = time;
21     return self;
22     }
23     - (void)fire {}
24    
25     - (NSTimeInterval)sleepTime {return sleepTime;}
26    
27     @end

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26