This paper deals with two M/M/1 queues served by a single server with threshold switching. Our main goal is to solve the Poisson equation and, as a result, give expressions for the Iona-run expected average cost of holding units and switching actions of the server, and the bias vector. (c) 2005 Elsevier B.V All rights reserved.