Auto merge of #974 - hawkingrei:feat/add_fread_unlock, r=alexcrichton

feat: add fread_unulock for linux

add fread_unulock for linux