1/*
2 * Copyright (c) 2006-2008, The RubyCocoa Project.
3 * Copyright (c) 2001-2006, FUJIMOTO Hisakuni.
4 * All Rights Reserved.
5 *
6 * RubyCocoa is free software, covered under either the Ruby's license or the
7 * LGPL. See the COPYRIGHT file for more information.
8 */
9
10#import <Foundation/NSObject.h>
11#import <Foundation/NSTimer.h>
12#import <sys/time.h>
13
14@interface RBThreadSwitcher : NSObject
15{
16  id timer;
17  struct timeval wait;
18}
19+ (void) start: (double)interval wait: (double) a_wait;
20+ (void) start: (double)interval;
21+ (void) start;
22+ (void) stop;
23@end
24