blob: 5656dba70389b679a3b0a577c6e70351d68c1366 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/async/default.h>
#include <threads.h>
static thread_local async_t* g_default;
async_t* async_get_default(void) {
return g_default;
}
void async_set_default(async_t* async) {
g_default = async;
}