time-outとは? わかりやすく解説

Weblio 辞書 > 辞書・百科事典 > 日本語表現辞典 > time-outの意味・解説 

timeout

別表記:タイムアウト

「timeout」の意味・「timeout」とは

「timeout」は、コンピュータ科学領域において、特定の操作一定時間内に完了しない場合発生する事象を指す。一般的にはネットワーク通信プログラムの実行において、応答得られない状態を指し、この状態が続くと、システムは「timeout」を宣言し、その操作中断する例えば、ウェブブラウザウェブページ開こうとしたとき、サーバからの応答ない場合一定時間経過すると「timeout」が発生しページ読み込み中断される

「timeout」の発音・読み方

「timeout」の発音は、国際音声記号IPA)で /ˈtaɪmaʊt/ と表記されるカタカナ表記では「タイマウト」と読む。日本人発音する際のカタカナ英語読み方も「タイマウト」である。この単語発音によって意味や品詞が変わるものではない。

「timeout」の定義を英語で解説

「timeout」は、"A specified period of time that will be allowed to elapse in a system before a specified event is to take place, unless another specified event occurs first; in either case, the period is terminated when either event takes place."と定義される。つまり、特定のイベント発生するまでの許容される時間指しその時間が経過する他のイベント発生した場合にその期間は終了する、という意味である。

「timeout」の類語

「timeout」の類語としては、「time limit」、「deadline」、「due date」などがある。これらの単語同様に時間関連した制約期限を表すために使用される

「timeout」に関連する用語・表現

「timeout」に関連する用語表現としては、「time out error」、「session timeout」、「connection timeout」などがある。これらはすべて、特定の操作一定時間内に完了しない場合発生するエラーや状態を指す。

「timeout」の例文

以下に、「timeout」を使用した例文10挙げる1. The operation was cancelled due to a timeout.(操作タイムアウトのためキャンセルされた。)
2. The server did not respond within the timeout period.(サーバータイムアウト間内応答しなかった。)
3. The system will automatically log you out after a timeout of 30 minutes.(システム30分のタイムアウト後に自動的にログアウトます。
4. The connection was lost due to a timeout.(接続タイムアウトのために失われた。)
5. The timeout value is set to 60 seconds.(タイムアウト値は60秒設定されている。)
6. The request failed due to a server timeout.(リクエストはサーバータイムアウトのために失敗した。)
7. The timeout error occurred while accessing the database.(データベースへのアクセス中にタイムアウトエラー発生した。)
8. The system will trigger a timeout if the process does not complete within the specified time.(プロセス指定時間内に完了しない場合システムタイムアウト引き起こす。)
9. The timeout setting can be adjusted in the system preferences.(タイムアウト設定システム設定調整できる。)
10. The application experienced a timeout while waiting for a response from the server.(アプリケーションサーバーからの応答待っている間にタイムアウト経験した。)

タイム‐アウト【time-out】


Timeout クラス

無期限時間指定するために使用される定数含みます。このクラス継承できません。

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

<ComVisibleAttribute(True)> _
Public NotInheritable Class
 Timeout
[ComVisibleAttribute(true)] 
public static class Timeout
[ComVisibleAttribute(true)] 
public ref class Timeout abstract sealed
/** @attribute ComVisibleAttribute(true) */ 
public final class Timeout
ComVisibleAttribute(true) 
public final class Timeout
解説解説

このクラス唯一のメンバである Infinite は、Thread.Sleep(Int32)、Thread.Join(Int32)、および ReaderWriterLock.AcquireReaderLock(Int32) などの整数timeout パラメータ受け入れメソッドによって使用される定数です。

使用例使用例

無制限時間アイドル状態入りその後呼び出されるスレッドの例を次に示します

Option Explicit
Option Strict

Imports System
Imports System.Security.Permissions
Imports System.Threading

<Assembly: SecurityPermissionAttribute(SecurityAction.RequestMinimum, _
    ControlThread := True)>

Public Class ThreadInterrupt

    <MTAThread> _
    Shared Sub Main()
        Dim stayAwake As New
 StayAwake()
        Dim newThread As New
 Thread(AddressOf stayAwake.ThreadMethod)
        newThread.Start()

        ' The following line causes an exception to be thrown 
        ' in ThreadMethod if newThread is currently blocked
        ' or becomes blocked in the future.
        newThread.Interrupt()
        Console.WriteLine("Main thread calls Interrupt on newThread.")

        ' Tell newThread to go to sleep.
        stayAwake.SleepSwitch = True

        ' Wait for newThread to end.
        newThread.Join()
    End Sub

End Class

Public Class StayAwake

    Dim sleepSwitchValue As Boolean
 = False

    WriteOnly Property SleepSwitch As
 Boolean
        Set
            sleepSwitchValue = Value
        End Set
    End Property 

    Sub New()
    End Sub

    Sub ThreadMethod()
        Console.WriteLine("newThread is executing ThreadMethod.")
        While Not sleepSwitchValue

            ' Use SpinWait instead of Sleep to demonstrate the 
            ' effect of calling Interrupt on a running thread.
            Thread.SpinWait(10000000)
        End While
        Try
            Console.WriteLine("newThread going to sleep.")

            ' When newThread goes to sleep, it is immediately 
            ' woken up by a ThreadInterruptedException.
            Thread.Sleep(Timeout.Infinite)
        Catch ex As ThreadInterruptedException
            Console.WriteLine("newThread cannot go to "
 & _
                "sleep - interrupted by main thread.")
        End Try
    End Sub

End Class
using System;
using System.Security.Permissions;
using System.Threading;

[assembly: SecurityPermissionAttribute(SecurityAction.RequestMinimum,
    ControlThread = true)]

class ThreadInterrupt
{
    static void Main()
    {
        StayAwake stayAwake = new StayAwake();
        Thread newThread = 
            new Thread(new ThreadStart(stayAwake.ThreadMethod));
        newThread.Start();

        // The following line causes an exception to be thrown 
        // in ThreadMethod if newThread is currently blocked
        // or becomes blocked in the future.
        newThread.Interrupt();
        Console.WriteLine("Main thread calls Interrupt on newThread.");

        // Tell newThread to go to sleep.
        stayAwake.SleepSwitch = true;

        // Wait for newThread to end.
        newThread.Join();
    }
}

class StayAwake
{
    bool sleepSwitch = false;

    public bool SleepSwitch
    {
        set{ sleepSwitch = value; }
    }

    public StayAwake(){}

    public void ThreadMethod()
    {
        Console.WriteLine("newThread is executing ThreadMethod.");
        while(!sleepSwitch)
        {
            // Use SpinWait instead of Sleep to demonstrate the 
            // effect of calling Interrupt on a running thread.
            Thread.SpinWait(10000000);
        }
        try
        {
            Console.WriteLine("newThread going to sleep.");

            // When newThread goes to sleep, it is immediately 
            // woken up by a ThreadInterruptedException.
            Thread.Sleep(Timeout.Infinite);
        }
        catch(ThreadInterruptedException e)
        {
            Console.WriteLine("newThread cannot go to sleep - " +
                "interrupted by main thread.");
        }
    }
}
using namespace System;
using namespace System::Security::Permissions;
using namespace System::Threading;

[assembly:SecurityPermissionAttribute(SecurityAction::RequestMinimum,
ControlThread=true)];
ref class StayAwake
{
private:
   bool sleepSwitch;

public:

   property bool SleepSwitch 
   {
      void set( bool value
 )
      {
         sleepSwitch = value;
      }

   }
   StayAwake()
   {
      sleepSwitch = false;
   }

   void ThreadMethod()
   {
      Console::WriteLine( "newThread is executing ThreadMethod." );
      while (  !sleepSwitch )
      {
         
         // Use SpinWait instead of Sleep to demonstrate the 
         // effect of calling Interrupt on a running thread.
         Thread::SpinWait( 10000000 );
      }

      try
      {
         Console::WriteLine( "newThread going to sleep." );
         
         // When newThread goes to sleep, it is immediately 
         // woken up by a ThreadInterruptedException.
         Thread::Sleep( Timeout::Infinite );
      }
      catch ( ThreadInterruptedException^ /*e*/ ) 
      {
         Console::WriteLine( "newThread cannot go to sleep - "
         "interrupted by main thread." );
      }

   }

};

int main()
{
   StayAwake^ stayAwake = gcnew StayAwake;
   Thread^ newThread = gcnew Thread( gcnew ThreadStart( stayAwake, &StayAwake::ThreadMethod
 ) );
   newThread->Start();
   
   // The following line causes an exception to be thrown 
   // in ThreadMethod if newThread is currently blocked
   // or becomes blocked in the future.
   newThread->Interrupt();
   Console::WriteLine( "Main thread calls Interrupt on newThread." );
   
   // Then tell newThread to go to sleep.
   stayAwake->SleepSwitch = true;
   
   // Wait for newThread to end.
   newThread->Join();
}

import System.*;
import System.Security.Permissions.*;
import System.Threading.*;
import System.Threading.Thread;

/** @assembly SecurityPermissionAttribute(SecurityAction.RequestMinimum,
    ControlThread = true)
 */

class ThreadInterrupt
{
    public static void main(String[]
 args)
    {
        StayAwake stayAwake =  new StayAwake();
        Thread newThread =  new Thread(new
 ThreadStart(stayAwake.ThreadMethod));
        newThread.Start();
      
        // The following line causes an exception to be thrown 
        // in ThreadMethod if newThread is currently blocked
        // or becomes blocked in the future.
        newThread.Interrupt();
        Console.WriteLine("Main thread calls Interrupt on newThread.");
      
        // Tell newThread to go to sleep.
        stayAwake.set_SleepSwitch(true);
      
        // Wait for newThread to end.
        newThread.Join();
   } //main
} //ThredInterrupt

class StayAwake
{
    private boolean sleepSwitch = false;

    /** @property
     */
    public void set_SleepSwitch(boolean value)
    {
        sleepSwitch = value;
    } //set_SleepSwitch

    public StayAwake()
    {
    } //StayAwake

    public void ThreadMethod()
    {
        Console.WriteLine("newThread is executing ThreadMethod.");
        while (!(sleepSwitch)) {
            // Use SpinWait instead of Sleep to demonstrate the 
            // effect of calling Interrupt on a running thread.
            Thread.SpinWait(10000000);
        }

        try {
            Console.WriteLine("newThread going to sleep.");

            // When newThread goes to sleep, it is immediately 
            // woken up by a ThreadInterruptedException.
            Thread.Sleep(Timeout.Infinite);
        }
        catch (ThreadInterruptedException e) {
            Console.WriteLine(("newThread cannot go to sleep - " 
                + "nterrupted by main thread."));
        }
    } //ThreadMethod
} //StayAwake
継承階層継承階層
System.Object
  System.Threading.Timeout
スレッド セーフスレッド セーフ

この型は、マルチスレッド操作に対して安全です。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

Timeout フィールド


Timeout メソッド


Timeout メンバ


Time Out!

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2021/08/31 14:23 UTC 版)

Time Out!』(タイム・アウト!)は、1990年11月9日EPIC/SONY RECORDS / M's Factoryから発売された佐野元春の7枚目のアルバム。


注釈

  1. ^ 曲名は、公式サイトに掲載されている表記に順ずる[2]
  2. ^ 英語表記は、2021年6月16日に発売されたボックスセット「佐野元春 ザ・コンプリート・アルバム・コレクション 1980-2004」のブックレットに記載されている。

出典

  1. ^ Time Out!【Blu-specCD2】” (日本語). 佐野元春 | ソニーミュージックオフィシャルサイト. 2021年4月19日閲覧。
  2. ^ タイム・アウト!


「Time Out!」の続きの解説一覧

タイムアウト (曖昧さ回避)

(time-out から転送)

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2022/12/17 02:08 UTC 版)

タイムアウトtime out



「Time Out!」の例文・使い方・用例・文例

Weblio日本語例文用例辞書はプログラムで機械的に例文を生成しているため、不適切な項目が含まれていることもあります。ご了承くださいませ。


英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「time-out」の関連用語

time-outのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



time-outのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
実用日本語表現辞典実用日本語表現辞典
Copyright © 2024実用日本語表現辞典 All Rights Reserved.
デジタル大辞泉デジタル大辞泉
(C)Shogakukan Inc.
株式会社 小学館
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.
ウィキペディアウィキペディア
All text is available under the terms of the GNU Free Documentation License.
この記事は、ウィキペディアのTime Out! (改訂履歴)、タイムアウト (曖昧さ回避) (改訂履歴)の記事を複製、再配布したものにあたり、GNU Free Documentation Licenseというライセンスの下で提供されています。 Weblio辞書に掲載されているウィキペディアの記事も、全てGNU Free Documentation Licenseの元に提供されております。
Tanaka Corpusのコンテンツは、特に明示されている場合を除いて、次のライセンスに従います:
 Creative Commons Attribution (CC-BY) 2.0 France.
この対訳データはCreative Commons Attribution 3.0 Unportedでライセンスされています。
浜島書店 Catch a Wave
Copyright © 1995-2024 Hamajima Shoten, Publishers. All rights reserved.
株式会社ベネッセコーポレーション株式会社ベネッセコーポレーション
Copyright © Benesse Holdings, Inc. All rights reserved.
研究社研究社
Copyright (c) 1995-2024 Kenkyusha Co., Ltd. All rights reserved.
日本語WordNet日本語WordNet
日本語ワードネット1.1版 (C) 情報通信研究機構, 2009-2010 License All rights reserved.
WordNet 3.0 Copyright 2006 by Princeton University. All rights reserved. License
日外アソシエーツ株式会社日外アソシエーツ株式会社
Copyright (C) 1994- Nichigai Associates, Inc., All rights reserved.
「斎藤和英大辞典」斎藤秀三郎著、日外アソシエーツ辞書編集部編
EDRDGEDRDG
This page uses the JMdict dictionary files. These files are the property of the Electronic Dictionary Research and Development Group, and are used in conformance with the Group's licence.

©2024 GRAS Group, Inc.RSS