Compare commits

..

No commits in common. "98718f17978b715b56f8051e9ce61f8a523d5c9c" and "d00ff5fff8865292eae05cd0ec5ed445cc0c9d59" have entirely different histories.

1 changed files with 0 additions and 14 deletions

View File

@ -1,14 +0,0 @@
public class ThreadAuslesen {
public static void main(String[] agrs) {
// Anzahl der Prozessoren auslesen
var nr = Runtime.getRuntime().availableProcessors();
System.out.println("Anzahl der Prozessoren auf diesem Rechner: " + nr);
// Weitere Daten aus aktuellen Thread lesen
var self = Thread.currentThread();
System.out.println("Name: " + self.getName());
System.out.println("Prio: " + self.getPriority());
System.out.println("ID: " + self.threadId());
}
}