Fpga based flexible information flow architecture for system protection against multiple concurrent threats using context switched semaphore