Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Java のデーモン スレッドに関して混乱しています。デーモンスレッドは作成されず、制御のみが行われるとどこかで述べられており、他の誰かはデーモンスレッドも作成できると述べています。しかし、どのように?
デーモン スレッドは単なる通常のスレッドです。アプリケーションの終了を妨げないという唯一の違いがあります。すべての非デーモン スレッドが終了すると、アプリケーションは終了します。