From nobody Mon Sep 17 00:00:00 2001 From: Ilya Berezhniuk Date: Thu, 21 Feb 2008 20:17:57 +0300 Subject: [PATCH] --move-- Renamed apr_thread_ext.h to port_thread.h --- vm/port/include/apr_thread_ext.h | 44 -------------------------------------- vm/port/include/port_thread.h | 44 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 vm/port/include/apr_thread_ext.h create mode 100644 vm/port/include/port_thread.h 1c53be1f1ee182bada94b000bdd87f55103a5d56 diff --git a/vm/port/include/apr_thread_ext.h b/vm/port/include/apr_thread_ext.h deleted file mode 100644 index c431eec..0000000 --- a/vm/port/include/apr_thread_ext.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - */ -/** - * @author Andrey Chernyshev - * @version $Revision$ - */ - - -#ifndef APR_EXT_H -#define APR_EXT_H - -#include -#include -#include -#include - -APR_DECLARE(apr_status_t) apr_thread_set_priority(apr_thread_t *thread, apr_int32_t priority); - -APR_DECLARE(void) apr_memory_rw_barrier(); - -APR_DECLARE(apr_status_t) apr_thread_yield_other(apr_thread_t *thread); - -APR_DECLARE(apr_status_t) apr_thread_times(apr_thread_t *thread, - apr_time_t * kernel_time, apr_time_t * user_time); - -APR_DECLARE(apr_status_t) apr_thread_cancel(apr_thread_t *thread); - -APR_DECLARE(apr_status_t) apr_get_thread_time(apr_thread_t *thread, apr_int64_t* nanos_ptr); - -#endif /* APR_EXT_H */ diff --git a/vm/port/include/port_thread.h b/vm/port/include/port_thread.h new file mode 100644 index 0000000..c431eec --- /dev/null +++ b/vm/port/include/port_thread.h @@ -0,0 +1,44 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ +/** + * @author Andrey Chernyshev + * @version $Revision$ + */ + + +#ifndef APR_EXT_H +#define APR_EXT_H + +#include +#include +#include +#include + +APR_DECLARE(apr_status_t) apr_thread_set_priority(apr_thread_t *thread, apr_int32_t priority); + +APR_DECLARE(void) apr_memory_rw_barrier(); + +APR_DECLARE(apr_status_t) apr_thread_yield_other(apr_thread_t *thread); + +APR_DECLARE(apr_status_t) apr_thread_times(apr_thread_t *thread, + apr_time_t * kernel_time, apr_time_t * user_time); + +APR_DECLARE(apr_status_t) apr_thread_cancel(apr_thread_t *thread); + +APR_DECLARE(apr_status_t) apr_get_thread_time(apr_thread_t *thread, apr_int64_t* nanos_ptr); + +#endif /* APR_EXT_H */ -- 1.3.3