Back to project page porter.
The source code is released under:
Copyright (c) 2014, Benjamin Damer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
If you think the Android project porter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.afqa123.porter; // w w w . ja va 2 s. co m public abstract class StoppableThread extends Thread { private volatile boolean _stop = false; protected boolean isStopped() { return _stop; } public synchronized void requestStop() { _stop = true; } }