質問編集履歴
2
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,23 +1,35 @@
|
|
1
|
-
### 前提・実現したいこと
|
1
|
+
### 前提・実現したいこと
|
2
|
-
|
2
|
+
|
3
|
-
C#でマルチスレッドのプログラムを作成したいと考えています。
|
3
|
+
C#でマルチスレッドのプログラムを作成したいと考えています。
|
4
|
-
専用スレッドを立てて常に処理を実行する想定です。
|
4
|
+
専用スレッドを立てて常に処理を実行する想定です。
|
5
|
-
|
5
|
+
|
6
|
-
UIスレッド(コントロール)ではない特定スレッドで処理を行ないたい場合に
|
6
|
+
UIスレッド(コントロール)ではない特定スレッドで処理を行ないたい場合に
|
7
|
-
スレッドを切り替えるよい方法はありますでしょうか?
|
7
|
+
スレッドを切り替えるよい方法はありますでしょうか?
|
8
|
-
|
8
|
+
|
9
|
-
### 発生している問題・エラーメッセージ
|
9
|
+
### 発生している問題・エラーメッセージ
|
10
|
-
|
10
|
+
|
11
|
-
うまいやり方があるのではないかと検索していたのですが、
|
11
|
+
うまいやり方があるのではないかと検索していたのですが、
|
12
|
-
UIスレッドのInvokeのサンプルばかりが出てきて発見できませんでした。
|
12
|
+
UIスレッドのInvokeのサンプルばかりが出てきて発見できませんでした。
|
13
|
-
|
14
|
-
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
15
|
-
### その後調べたこと
|
19
|
+
### その後調べたこと
|
16
|
-
|
20
|
+
|
21
|
+
|
22
|
+
|
17
|
-
https://www.infoworld.com/article/3063560/how-to-build-your-own-task-scheduler-in-csharp.html
|
23
|
+
https://www.infoworld.com/article/3063560/how-to-build-your-own-task-scheduler-in-csharp.html
|
18
|
-
|
24
|
+
|
25
|
+
|
26
|
+
|
19
|
-
https://stackoverflow.com/questions/41271071/how-to-queue-up-delegates-to-be-executed-in-series-in-the-background-with-c
|
27
|
+
https://stackoverflow.com/questions/41271071/how-to-queue-up-delegates-to-be-executed-in-series-in-the-background-with-c
|
20
|
-
|
28
|
+
|
29
|
+
|
30
|
+
|
21
|
-
https://stackoverflow.com/questions/15119974/creating-backgroundworker-with-queue/15120092#15120092
|
31
|
+
https://stackoverflow.com/questions/15119974/creating-backgroundworker-with-queue/15120092#15120092
|
22
|
-
|
32
|
+
|
33
|
+
|
34
|
+
|
23
|
-
この辺りも読んでみました。やはり一発で解決とはいかず個々の対応になるのかなと思いました。"専用スレッド"ではないのですが ContinueWith でTaskをつないでいく解決策は興味深かったです。
|
35
|
+
この辺りも読んでみました。やはり一発で解決とはいかず個々の対応になるのかなと思いました。"専用スレッド"ではないのですが 『ContinueWith でTaskをつないでいく解決策』は興味深かったです。
|
1
その後調べたこと
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,4 +9,15 @@
|
|
9
9
|
### 発生している問題・エラーメッセージ
|
10
10
|
|
11
11
|
うまいやり方があるのではないかと検索していたのですが、
|
12
|
-
UIスレッドのInvokeのサンプルばかりが出てきて発見できませんでした。
|
12
|
+
UIスレッドのInvokeのサンプルばかりが出てきて発見できませんでした。
|
13
|
+
|
14
|
+
|
15
|
+
### その後調べたこと
|
16
|
+
|
17
|
+
https://www.infoworld.com/article/3063560/how-to-build-your-own-task-scheduler-in-csharp.html
|
18
|
+
|
19
|
+
https://stackoverflow.com/questions/41271071/how-to-queue-up-delegates-to-be-executed-in-series-in-the-background-with-c
|
20
|
+
|
21
|
+
https://stackoverflow.com/questions/15119974/creating-backgroundworker-with-queue/15120092#15120092
|
22
|
+
|
23
|
+
この辺りも読んでみました。やはり一発で解決とはいかず個々の対応になるのかなと思いました。"専用スレッド"ではないのですが ContinueWith でTaskをつないでいく解決策は興味深かったです。
|