Advanced network programming
groundnut888
这个作者很懒,什么都没留下…
展开
-
windows 脚本bat中调用bat
用Tomcat 又没有JAVAEE很麻烦。那么:写点脚本一次性执行关闭服务器,编译,打开服务器的操作d:cd D:\ApacheTomcat\tomcat-8.5.60\webapps\FwdPractice\WEB-INFjavac -classpath D:\ApacheTomcat\tomcat-8.5.60\lib\servlet-api.jar;classes;. -d classes D:\ApacheTomcat\tomcat-8.5.60\webapps\FwdPractice\W原创 2020-12-05 14:19:10 · 1105 阅读 · 0 评论 -
Java Thread interrupt isAlive Volatile
1.1 Overview1.2 Get a reference to yourself as a thread1.3 Summary of methods2.1 What is an interrupt2.2 Interrupt Mechanism2.3 The two interrupt methods2.4 Check the interrupt flag??? Reminder: Throw exits directly2.5 InterruptedException3.T..原创 2020-09-26 22:37:53 · 279 阅读 · 0 评论 -
Java Threads 创建线程
Process and threadsProcessA process runs isolated from other processesA process cannot directly access shared data in other processesThe resources of the process, e.g. memory and CPU time, are allocated to it via the operating systemExample: Java Vir原创 2020-09-26 22:27:16 · 217 阅读 · 0 评论