Add a pthread example