blob: 798b6d10dd9d3df4d98b2ec9bd35dc0d905329c0 [file] [log] [blame]
“David6f5b8e22017-06-01 23:29:00 -07001// Copyright 2017 Google Inc. All Rights Reserved.
David Ghandehari9e5b5872016-07-28 09:50:04 -07002//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
“David6f5b8e22017-06-01 23:29:00 -070015#include "starboard/socket_waiter.h"
David Ghandehari9e5b5872016-07-28 09:50:04 -070016
“David6f5b8e22017-06-01 23:29:00 -070017#include "starboard/shared/win32/socket_waiter_internal.h"
David Ghandehari9e5b5872016-07-28 09:50:04 -070018
“David6f5b8e22017-06-01 23:29:00 -070019void SbSocketWaiterWait(SbSocketWaiter waiter) {
20 if (!SbSocketWaiterIsValid(waiter)) {
21 return;
22 }
23
24 waiter->Wait();
25}