JP4834566B2 - 入出力作業によってブロッキングされたスレッドを強制終了する装置および方法 - Google Patents
入出力作業によってブロッキングされたスレッドを強制終了する装置および方法 Download PDFInfo
- Publication number
- JP4834566B2 JP4834566B2 JP2007040391A JP2007040391A JP4834566B2 JP 4834566 B2 JP4834566 B2 JP 4834566B2 JP 2007040391 A JP2007040391 A JP 2007040391A JP 2007040391 A JP2007040391 A JP 2007040391A JP 4834566 B2 JP4834566 B2 JP 4834566B2
- Authority
- JP
- Japan
- Prior art keywords
- thread
- state
- blocked
- termination function
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F9/524—Deadlock detection or avoidance
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B01—PHYSICAL OR CHEMICAL PROCESSES OR APPARATUS IN GENERAL
- B01D—SEPARATION
- B01D21/00—Separation of suspended solid particles from liquids by sedimentation
- B01D21/24—Feed or discharge mechanisms for settling tanks
- B01D21/245—Discharge mechanisms for the sediments
- B01D21/2466—Mammoth pumps, e.g. air lift pumps
-
- C—CHEMISTRY; METALLURGY
- C02—TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
- C02F—TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
- C02F1/00—Treatment of water, waste water, or sewage
- C02F1/40—Devices for separating or removing fatty or oily substances or similar floating material
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01G—WEIGHING
- G01G17/00—Apparatus for or methods of weighing material of special form or property
- G01G17/04—Apparatus for or methods of weighing material of special form or property for weighing fluids, e.g. gases, pastes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- C—CHEMISTRY; METALLURGY
- C02—TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
- C02F—TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
- C02F2303/00—Specific treatment goals
- C02F2303/22—Eliminating or preventing deposits, scale removal, scale prevention
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Water Supply & Treatment (AREA)
- Organic Chemistry (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Environmental & Geological Engineering (AREA)
- Hydrology & Water Resources (AREA)
- Analytical Chemistry (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Description
図4におけるA状態410は該当スレッドのブロッキングが解除された状態であって、入出力作業のための命令が入力される以前の状態を示す。この時、入出力作業のための命令が入力されれば、入力された命令によりアプリケーションに含まれたスレッドは運営体系のシステム呼出を行う。ところで、システム呼出は運営体系のカーネルモードのみで行われるため、スレッドの状態はブロッキング状態のB状態420に切替える。
220 格納部
230 制御部
240 状態確認部
250 信号送信部
260 作業管理部
270 スレッド管理部
Claims (14)
- 入力されたオペレーション実行及びオペレーション終了のための命令に対する制御コードの伝達を受け、前記制御コードがオペレーション実行のための制御コードである場合、スレッドの状態が含まれたテーブルを更新し、前記制御コードがアプリケーションのオペレーション終了のための制御コードである場合、オペレーション終了が要請されたアプリケーションに含まれたスレッドの状態を確認する制御部と、
前記スレッドの状態がブロッキング状態である場合、前記スレッドにブロッキング状態を一時的に解除するため、OSをカーネルモードからユーザモードへ切替えるユーザ定義信号を送信する信号送信部と、
前記スレッドの状態がブロッキング状態である場合、前記信号によって前記ブロッキング状態が一時的に解除されたスレッドに含まれた入出力オペレーションを終了させて前記カーネルモードへの復帰を防ぐための第1の終了関数を行うオペレーション管理部と、
前記スレッドの状態がブロッキング状態ではない場合には、前記スレッドを終了させるための第2の終了関数を行い、前記スレッドの状態がブロッキング状態である場合には、前記第1の終了関数によって前記入出力オペレーションが終了したスレッドを終了させるための第2の終了関数を行うスレッド管理部と
を含む入出力オペレーションによってブロッキングされたスレッドを強制終了する装置。 - 前記アプリケーションは、ジャバアプリケーションを含む請求項1に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する装置。
- 前記ブロッキング状態は、OSのカーネルモードでシステム呼出を実行中である状態を含む請求項1に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する装置。
- 前記制御部から一つ以上のアプリケーションに含まれたスレッドの状態確認命令を受け、前記スレッドによるオペレーションが進行中であるかどうか、及び前記スレッドによって行われる作業が入出力オペレーションであるかを確認する状態確認部をさらに含む請求項1に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する装置。
- 前記スレッド管理部は、前記第2の終了関数を行うことにより、前記入出力オペレーションが終了したスレッドに対するスレッド終了の例外を発生させる請求項1に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する装置。
- 前記信号、前記第1の終了関数、または前記第2の終了関数は、前記スレッドの状態が含まれたテーブルに基づいて行われる請求項1に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する装置。
- 前記テーブルを格納する格納部をさらに含む請求項6に記載の入出力オペレーションにブロッキングされたスレッドを強制終了する装置。
- 入力されたオペレーション実行及びオペレーション終了のための命令に対する制御コードの伝達を受け、前記制御コードがオペレーション実行のための制御コードである場合、スレッドの状態が含まれたテーブルを更新し、前記制御コードがアプリケーションのオペレーション終了のための制御コードである場合、オペレーション終了が要請されたアプリケーションに含まれたスレッドの状態を確認するステップと、
前記スレッドの状態がブロッキング状態である場合、前記スレッドにブロッキング状態を一時的に解除するため、OSをカーネルモードからユーザモードへ切替えるユーザ定義信号を送信するステップと、
前記スレッドの状態がブロッキング状態である場合、前記信号によって前記ブロッキング状態が一時的に解除されたスレッドに含まれた入出力オペレーションを終了させて前記カーネルモードへの復帰を防ぐための第1の終了関数を行うステップと、
前記スレッドの状態がブロッキング状態ではない場合には、前記スレッドを終了させるための第2の終了関数を行い、前記スレッドの状態がブロッキング状態である場合には、前記第1の終了関数によって前記入出力オペレーションが終了したスレッドを終了させるための第2の終了関数を行うステップと
を含む入出力オペレーションによってブロッキングされたスレッドを強制終了する方法。 - 前記アプリケーションは、ジャバアプリケーションを含む請求項8に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する方法。
- 前記ブロッキング状態は、OSのカーネルモードでシステム呼出を実行中である状態を含む請求項8に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する方法。
- 前記制御部から一つ以上のアプリケーションに含まれたスレッドの状態確認命令を受け、前記スレッドによるオペレーションが進行中であるかどうか、及び前記スレッドによって行われる作業が入出力オペレーションであるかを確認する状態確認部をさらに含む請求項8に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する方法。
- 前記第2の終了関数を行うステップは、前記第2の終了関数を行うことにより、前記入出力オペレーションが終了したスレッドに対するスレッド終了の例外を発生させるステップを含む請求項8に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する方法。
- 前記信号、前記第1の終了関数、または前記第2の終了関数は、前記スレッドの状態が含まれたテーブルに基づいて行われる請求項8に記載の入出力オペレーションによってブロッキングされたスレッドを強制終了する方法。
- 前記テーブルを格納するステップをさらに含む請求項13に記載の入出力オペレーションにブロッキングされたスレッドを強制終了する方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020060017343A KR100714710B1 (ko) | 2006-02-22 | 2006-02-22 | 입출력 작업에 의해 블로킹된 스레드를 강제 종료하는 장치및 방법 |
| KR10-2006-0017343 | 2006-02-22 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007226799A JP2007226799A (ja) | 2007-09-06 |
| JP4834566B2 true JP4834566B2 (ja) | 2011-12-14 |
Family
ID=38269748
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007040391A Expired - Fee Related JP4834566B2 (ja) | 2006-02-22 | 2007-02-21 | 入出力作業によってブロッキングされたスレッドを強制終了する装置および方法 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US8006246B2 (ja) |
| JP (1) | JP4834566B2 (ja) |
| KR (1) | KR100714710B1 (ja) |
| CN (1) | CN100511156C (ja) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8356356B2 (en) * | 2007-01-30 | 2013-01-15 | Microsoft Corporation | Anti-debugger comprising spatially and temporally separate detection and response portions |
| CN101663558B (zh) | 2007-04-05 | 2011-06-22 | 富士通半导体股份有限公司 | 表面形状传感器及其制造方法 |
| US8296776B2 (en) * | 2008-06-06 | 2012-10-23 | Apple Inc. | Efficient mechanism for terminating applications |
| US8473964B2 (en) * | 2008-09-30 | 2013-06-25 | Microsoft Corporation | Transparent user mode scheduling on traditional threading systems |
| US8321874B2 (en) * | 2008-09-30 | 2012-11-27 | Microsoft Corporation | Intelligent context migration for user mode scheduling |
| US8289981B1 (en) * | 2009-04-29 | 2012-10-16 | Trend Micro Incorporated | Apparatus and method for high-performance network content processing |
| US9026720B2 (en) | 2013-02-07 | 2015-05-05 | Apple Inc. | Non-volatile memory monitoring |
| US10248463B2 (en) * | 2015-02-13 | 2019-04-02 | Honeywell International Inc. | Apparatus and method for managing a plurality of threads in an operating system |
| US10069949B2 (en) | 2016-10-14 | 2018-09-04 | Honeywell International Inc. | System and method for enabling detection of messages having previously transited network devices in support of loop detection |
| JP6911566B2 (ja) * | 2017-06-21 | 2021-07-28 | 株式会社リコー | 情報処理装置、制限解除方法及び制限解除プログラム |
| US10810086B2 (en) | 2017-10-19 | 2020-10-20 | Honeywell International Inc. | System and method for emulation of enhanced application module redundancy (EAM-R) |
| US10783026B2 (en) | 2018-02-15 | 2020-09-22 | Honeywell International Inc. | Apparatus and method for detecting network problems on redundant token bus control network using traffic sensor |
| CN110750348A (zh) * | 2019-10-23 | 2020-02-04 | 神州数码融信软件有限公司 | 批量作业调度方法及装置 |
| CN114461353A (zh) * | 2020-11-09 | 2022-05-10 | 中兴通讯股份有限公司 | 调整线程优先级的方法、终端及计算机可读存储介质 |
Family Cites Families (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01175059A (ja) * | 1987-12-28 | 1989-07-11 | Nec Corp | ジョブ管理方式 |
| JP2856003B2 (ja) | 1992-09-28 | 1999-02-10 | 日本電気株式会社 | 非同期データ入出力方式 |
| JP3110185B2 (ja) * | 1993-01-18 | 2000-11-20 | 株式会社東芝 | 計算機システム |
| JP2693916B2 (ja) * | 1994-09-22 | 1997-12-24 | 米沢日本電気株式会社 | タスクスケジュール方法 |
| US6349322B1 (en) * | 1998-05-06 | 2002-02-19 | Sun Microsystems, Inc. | Fast synchronization for programs written in the JAVA programming language |
| JP2000293380A (ja) | 1999-04-01 | 2000-10-20 | Nec Corp | 複数スレッドの終了処理装置および方法 |
| US6842898B1 (en) * | 1999-06-10 | 2005-01-11 | International Business Machines Corporation | Method and apparatus for monitoring and handling events for a collection of related threads in a data processing system |
| US6832236B1 (en) * | 1999-07-08 | 2004-12-14 | International Business Machines Corporation | Method and system for implementing automatic filesystem growth monitor for production UNIX computer system |
| US6457142B1 (en) * | 1999-10-29 | 2002-09-24 | Lucent Technologies Inc. | Method and apparatus for target application program supervision |
| US6711739B1 (en) * | 1999-11-08 | 2004-03-23 | Sun Microsystems, Inc. | System and method for handling threads of execution |
| US6687729B1 (en) * | 1999-12-20 | 2004-02-03 | Unisys Corporation | System and method for providing a pool of reusable threads for performing queued items of work |
| JP3961301B2 (ja) * | 2001-01-25 | 2007-08-22 | 松下電器産業株式会社 | デジタル機器、タスク管理方法及びそのプログラム |
| US6910209B2 (en) * | 2001-04-30 | 2005-06-21 | Sun Microsystems, Inc. | Clean thread termination |
| JP2003029981A (ja) * | 2001-07-11 | 2003-01-31 | Denso Corp | 端末およびコンピュータプログラム |
| JP4058752B2 (ja) | 2001-12-11 | 2008-03-12 | 日本電気株式会社 | 携帯情報端末装置 |
| US6886112B2 (en) * | 2002-06-28 | 2005-04-26 | Microsoft Corporation | Recovering from device failure |
| US7216346B2 (en) * | 2002-12-31 | 2007-05-08 | International Business Machines Corporation | Method and apparatus for managing thread execution in a multithread application |
| US7337444B2 (en) * | 2003-01-09 | 2008-02-26 | International Business Machines Corporation | Method and apparatus for thread-safe handlers for checkpoints and restarts |
| US7337443B2 (en) * | 2003-06-30 | 2008-02-26 | Microsoft Corporation | Method and apparatus for processing program threads |
| JP2005050023A (ja) * | 2003-07-31 | 2005-02-24 | Fujitsu Ltd | 情報処理装置及び方法 |
| EP1658563B1 (en) * | 2003-08-28 | 2013-06-05 | MIPS Technologies, Inc. | Apparatus, and method for initiation of concurrent instruction streams in a multithreading microprocessor |
| JP4246672B2 (ja) | 2004-06-03 | 2009-04-02 | 株式会社リコー | 画像形成装置および画像形成装置制御方法 |
| US7698708B1 (en) * | 2004-07-30 | 2010-04-13 | Symantec Operating Corporation | Method and system for persistent, recoverable user-level locks |
| JP2006146678A (ja) * | 2004-11-22 | 2006-06-08 | Hitachi Ltd | 情報処理装置におけるプログラム制御方法、情報処理装置、及びプログラム |
| US7424644B2 (en) * | 2005-03-01 | 2008-09-09 | Microsoft Corporation | Method and system for recovering data from a hung application |
-
2006
- 2006-02-22 KR KR1020060017343A patent/KR100714710B1/ko not_active Expired - Fee Related
-
2007
- 2007-01-16 US US11/653,398 patent/US8006246B2/en not_active Expired - Fee Related
- 2007-02-15 CN CNB2007100791953A patent/CN100511156C/zh not_active Expired - Fee Related
- 2007-02-21 JP JP2007040391A patent/JP4834566B2/ja not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| US20070198980A1 (en) | 2007-08-23 |
| CN101025698A (zh) | 2007-08-29 |
| JP2007226799A (ja) | 2007-09-06 |
| US8006246B2 (en) | 2011-08-23 |
| KR100714710B1 (ko) | 2007-05-04 |
| CN100511156C (zh) | 2009-07-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4834566B2 (ja) | 入出力作業によってブロッキングされたスレッドを強制終了する装置および方法 | |
| CN101211272B (zh) | 虚拟机生成器、虚拟机生成方法和虚拟机管理器 | |
| CN100410872C (zh) | 用于增强的运行时间主机支持的方法和设备 | |
| US7155550B2 (en) | Program-executing apparatus and portable information processing apparatus | |
| CN113051088B (zh) | 程序加载方法、装置、设备及计算机可读介质 | |
| US7194735B2 (en) | Executing native code in place of non-native code | |
| CN107122216B (zh) | 一种嵌入式实时操作系统动态加载方法 | |
| CN108446149A (zh) | 一种第三方动态库接口拦截方法及系统 | |
| KR100678912B1 (ko) | 메소드 바이트코드 해석 방법 및 상기 방법에 의해동작하는 시스템 | |
| US20070198723A1 (en) | Apparatus and method for managing resources in containment framework environment | |
| CN107729221B (zh) | 线程间消息监控方法、装置、计算机设备和存储介质 | |
| KR20180122593A (ko) | 클라우드 컴퓨팅 환경에서 클라우드 호스트를 삭제하는 방법, 장치, 서버 및 저장 매체 | |
| CN104572034A (zh) | 一种撤销和/或重做的实现方法和装置 | |
| CN112395083A (zh) | 一种资源文件的释放方法和装置 | |
| CN110018866B (zh) | 用户界面主题更新方法、装置、系统、车机及车辆 | |
| CN112882690B (zh) | 一种应用开发方法及装置 | |
| EP1489518B1 (en) | Embedded garbage collection | |
| CN106776018A (zh) | 用于分布式系统的主节点和从节点的并行处理方法和设备 | |
| CN112346390B (zh) | 光模块控制方法、装置、设备及计算机可读存储介质 | |
| CN110347448A (zh) | 一种构造终端应用行为的运行时模型的方法 | |
| KR20130020135A (ko) | 통합 개발 환경에서의 코드 동시 개발자 리스트 제공 시스템 및 방법 | |
| CN108256647B (zh) | 规则执行请求处理方法、装置、存储介质和电子设备 | |
| CN111241594A (zh) | 交易信息的加签方法、装置、计算机设备和存储介质 | |
| JP3961301B2 (ja) | デジタル機器、タスク管理方法及びそのプログラム | |
| US7191443B2 (en) | Digital device, task management method and program therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090914 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091215 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100315 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100622 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20100921 |
|
| A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20100927 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101021 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110405 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110608 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110906 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110926 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140930 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |