摘要
首先用继承Thread类和实现Runnable接口两种不同的方法分别创建了安全检查线程和网上教学课件线程 ,然后利用Java多线程技术中线程的启动使这两个线程能够并行运行 ,再利用线程的挂起和唤醒使它们相互制约 ,从而实现了在保证课件独立性的前提下 ,提高了网上教学的安全性 .
With two methods of inheriting Thread category and realizing Runnable interface,both threads of check for security and network teaching courseware are created.Using the start up of thread in Java multithread technique makes them to run parallelly,applying the suspend and resume of thread brings them to restrict with each other.Therefore,the independence of courseware and the security of network teaching are realized.
出处
《泉州师范学院学报》
2002年第4期84-88,91,共6页
Journal of Quanzhou Normal University