summaryrefslogtreecommitdiffstats
path: root/webkit/build/JavaScriptCore/sched.h
blob: 276e87ac1ced4021bf19340f2c14267040e24191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__
#define WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__

// Dummy implementation of sched.h so WTF will compile.

inline int sched_yield() {
  return 0;
}

#endif  // WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__