blob: 66c21eedbb70cbab1891cf21d37f16f2d41f725b [file] [log] [blame]
/* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the License for the specific language governing permissions
* and limitations under the License.
* -------------------------------------------------------------------
*/
// -*- c++ -*-
// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
// O S C L C O N F I G _ P R O C ( P L A T F O R M C O N F I G I N F O )
// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
/*! \file osclconfig_proc.h
* \brief This file contains configuration information for the linux platform
*
*/
#ifndef OSCLCONFIG_PROC_H_INCLUDED
#define OSCLCONFIG_PROC_H_INCLUDED
#ifndef OSCLCONFIG_H_INCLUDED
#include "osclconfig.h"
#endif
#include "osclconfig_proc_unix_android.h"
#include "osclconfig_proc_check.h"
#include <sys/prctl.h>
#include <utils/threads.h>
#include <sys/time.h>
#include <sys/resource.h>
#define OSCL_SET_THREAD_NAME(name) prctl(PR_SET_NAME,(unsigned long)name,0,0,0)
#endif